avoid reflection on map entries

This commit is contained in:
Aaron Iba 2020-08-13 15:25:36 -04:00
parent ff1d4b7f12
commit 6ed404baeb

View File

@ -82,8 +82,8 @@
(defn- map-entry->byte-array
[map-entry]
(join-byte-arrays [(to-byte-array (.getKey map-entry))
(to-byte-array (.getValue map-entry))]))
(join-byte-arrays [(to-byte-array (key map-entry))
(to-byte-array (val map-entry))]))
;; Collections
(extend-protocol CanonicalByteArray