ClojureScript

Speed up PersistentVector's conj

Details

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

Description

Jozef Wagner's comparative benchmarking of PVs and core.rrb-vector has uncovered a rather fascinating fact that PV's conj is significantly slower in Chrome and only slightly faster in Firefox. This won't do at all. The obvious approach to fixing the issue doesn't seem to make any difference in my pure V8 benchmarking, so now I'll have to look into this more closely.

At any rate, a patch changing PVs to use core.rrb-vector-like conj logic is forthcoming (after some extra tests on my end).

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: