PersistentArrayMap's assoc doesn't respect HASHTABLE_THRESHOLD

Description

Currently a map with more than 8 elements will be converted from a PersistentArrayMap to a PersistentHashMap, but if using assoc, it will take 9 elements before the conversion happens:

After patch:

Patch: 0001-PersistentArrayMap-s-assoc-doesn-t-respect-HASHTABLE.patch

Screened by: Alex Miller

Environment

None

Attachments

1

Activity

Show:
Completed

Assignee

Reporter

Approval

Patch

Priority

Fix versions

Created November 12, 2014 at 6:02 PM
Updated September 14, 2018 at 10:21 PM
Resolved September 14, 2018 at 10:21 PM