avoid reflection on map entries
This commit is contained in:
parent
ff1d4b7f12
commit
6ed404baeb
@ -82,8 +82,8 @@
|
|||||||
|
|
||||||
(defn- map-entry->byte-array
|
(defn- map-entry->byte-array
|
||||||
[map-entry]
|
[map-entry]
|
||||||
(join-byte-arrays [(to-byte-array (.getKey map-entry))
|
(join-byte-arrays [(to-byte-array (key map-entry))
|
||||||
(to-byte-array (.getValue map-entry))]))
|
(to-byte-array (val map-entry))]))
|
||||||
|
|
||||||
;; Collections
|
;; Collections
|
||||||
(extend-protocol CanonicalByteArray
|
(extend-protocol CanonicalByteArray
|
||||||
|
Loading…
x
Reference in New Issue
Block a user