Skip to content

Investigate why assuming boolean in WHIR recursion slows down the leanVM program #80

@TomWambsgans

Description

@TomWambsgans

To quote @morganthomas in this PR:

"
I don't know why these changes increase the cycle count by 12 for the WHIR recursion test. I did find usages of the if X == 1 idiom in the WHIR recursion test where X could safely be assumed to be boolean, but for whatever reason, replacing these instances with if !!assume_bool(X) resulted in an increased cycle count.
"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions