ClojureScript

Reassess ObjectMap vs. PersistentArrayMap

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

On V8, PAMs are competitive with OMs. On other browsers the performance doesn't look as good but this is probably due to the higher order code in array-map-index-of. We should remove the higher order code and more closely follow the Java PAM implementation which has different lookup loops for the different cases.

Activity

Hide
David Nolen added a comment -

already landed in master

Show
David Nolen added a comment - already landed in master

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: