I was a little surprised that UUIDs and Date objects fall back to the reader. With the new custom types mechanism in version 2.1 I was easily able to provide some custom serialization (reducing the roundtrip from 2600ms to 75ms!). However, since #uuid and #inst are in Clojure core, perhaps it's also worth including efficient serialization for these types by default?
For reference, this is how I converted the dates (in case it wasn't obvious):
I was a little surprised that UUIDs and Date objects fall back to the reader. With the new custom types mechanism in version 2.1 I was easily able to provide some custom serialization (reducing the roundtrip from 2600ms to 75ms!). However, since
#uuid
and#inst
are in Clojure core, perhaps it's also worth including efficient serialization for these types by default?For reference, this is how I converted the dates (in case it wasn't obvious):
Would you be interested in a pull request to implement binary serialization for both
java.util.Date
andjava.util.UUID
?