Skip to content

Comparison Folding #16

@MDFL64

Description

@MDFL64

Currently the results of comparison operations are always converted to integers, then converted back to bools when testing a conditional branch. We should store the comparison results as bools, and only convert between integers and bools if necessary. We should also try to fold the comparisons straight into conditional tests, since LuaJIT bytecode is designed to jump on comparisons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    optimisationImplement this to make things run faster

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions