ClojureScript

optimized case

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

With the advent of asm.js many engines will like compile switch statements over integers into jump tables. We should provide a real `case*` ast node that compiles to JS `switch` when possible - i.e. numbers, strings, keywords etc.

Activity

David Nolen made changes -
Field Original Value New Value
Description With the advent of asm.js many engine will like compile switch statements over integer into jump tables. We should provide a real `case*` ast node that compiles to JS `switch` when possible - i.e. numbers, strings, keywords etc. With the advent of asm.js many engines will like compile switch statements over integers into jump tables. We should provide a real `case*` ast node that compiles to JS `switch` when possible - i.e. numbers, strings, keywords etc.
David Nolen made changes -
Priority Major [ 3 ] Minor [ 4 ]
Michał Marczyk made changes -
Assignee Michał Marczyk [ michalmarczyk ]
Michał Marczyk made changes -
Status Open [ 1 ] In Progress [ 3 ]
Michał Marczyk made changes -
Status In Progress [ 3 ] Open [ 1 ]
Michał Marczyk made changes -
David Nolen made changes -
Priority Minor [ 4 ] Major [ 3 ]
Assignee Michał Marczyk [ michalmarczyk ] David Nolen [ dnolen ]
Christoffer Sawicki made changes -

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated: