Skip to content

Review instruction cost used for simple conditional flattening #7543

Open
@guipublic

Description

Problem

PR #7205 flattens simple if statements for brillig code when it improve performance.
However the performance improvement is based on an ad-hoc estimation of the cost of each instruction.

Happy Case

We could review/fine-tune the cost function to ensure that it improves the performance

Workaround

None

Workaround Description

No response

Additional Context

No response

Project Impact

None

Blocker Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    • Status

      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions