From 6ed404baebbeacccdbac3e350bb85f9f3aef53dc Mon Sep 17 00:00:00 2001 From: Aaron Iba Date: Thu, 13 Aug 2020 15:25:36 -0400 Subject: [PATCH] avoid reflection on map entries --- src/valuehash/impl.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/valuehash/impl.clj b/src/valuehash/impl.clj index 42e4888..8c1cf60 100644 --- a/src/valuehash/impl.clj +++ b/src/valuehash/impl.clj @@ -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