defrecord still uses old hashing algorithm

Description

defrecord implements hasheq by calling clojure.lang.APersistentMap/mapHasheq. mapHasheq uses the old map hash calculation instead of the new one. At least one external collection (data.avl) also calls this function. It should be updated to match the new hasheq calculations.

I considered changing defrecord to call Murmur3 directly, but this would create a case where the generated class does not work with older Clojure runtimes so I left it at calling mapHasheq instead.

Patch: clj-1344-1.patch

Environment

None

Attachments

1

Activity

Show:

Alex Miller February 10, 2014 at 10:01 PM

oops

Alex Miller February 7, 2014 at 7:33 PM

Attached patch to make mapHasheq use new hash map calculation.

Completed

Details

Assignee

Reporter

Labels

Approval

Ok

Patch

Code

Priority

Affects versions

Fix versions

Created February 7, 2014 at 7:20 PM
Updated February 14, 2014 at 4:18 PM
Resolved February 14, 2014 at 4:18 PM