You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLJS-3324: hash-map behavior differs from Clojure (#102)
* CLJS-3324: hash-map behavior differs from Clojure
Add runtime check to hash-map w/o changing perf.
Add runtime check to PersistentHashMap.fromArrays w/o significant perf change.
hash-map is also an inlining macro which invokes PersistentHashMap.fromArrays.
naive use of partition leads to garbage in / out. Pad to fill in the missing value,
then remove - then when computing the values drop when we hit a non-pair. This way
we get non-matching array lengths and can defer to the runtime check.
Add tests.
0 commit comments