revelytix/carbonite — Issue #2: Use array-maps explicitly for serializer collections? (patch attached)
Author: sritchie
Created: 2011-12-05 18:38:04+00:00
State: open

Patch here: https://gist.github.com/1434696

This patch converts the {} reader macros on clojure-primitives and java-primitives to use array-map explicitly. I think Clojure uses array-maps by default for small maps; I'm not sure, though, and if {} created a hash-map with different ordering when populating two different instances of kryo, deserialization will fail.