Skip to content

How to avoid instruction optimization? #356

@HaochengGuan

Description

@HaochengGuan

Is there optimization in browsers or compilers for actions? For example, for the action: “qos = Math.floor(Math.random() * 3);”, there should be two branches in the model. However, during execution, one branch never gets executed again. How can this issue be avoided?

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