Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.
This repository was archived by the owner on Jul 7, 2024. It is now read-only.

Generate for loops instead of while loops #23

@ghost

Description

According to my tests, using a for loop instead of a while loop is about 28% faster with Lua and 67% faster with LuaJit. Therefore, emitting for loops wherever possible would be a pretty significant performance win for the generated code, and would lead to slightly smaller code size too.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions