Skip to content

Add ast transform / optimize step #391

Description

@ldemailly

For instance:

  • reduce constant expressions
  • rewrite a = a + 1 -> a += 1 -> ++a
  • mark cacheable vs not cacheable as attribute of function (instead of current dynamic based on what is called and what ref there are)
  • possibly nuke unused vars etc
  • figure out maybe the registers at that time

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions