diff --git a/README.md b/README.md index dfa0142..84fcfcb 100644 --- a/README.md +++ b/README.md @@ -58,11 +58,11 @@ As an example of what it can do, let's take a look at Nippy's own reference stre ```clojure nippy/stress-data => -{:bytes (byte-array [(byte 1) (byte 2) (byte 3)]) - :nil nil - :true true - :false false - :False (Boolean. false) +{:nil nil + :true true + :false false + :boxed-false (Boolean. false) + :char \ಬ :str-short "ಬಾ ಇಲ್ಲಿ ಸಂಭವಿಸ" :str-long (apply str (range 1000)) @@ -78,7 +78,7 @@ nippy/stress-data (apply str "sym" (range 1000)) (apply str "sym" (range 1000))) -:regex #"^(https?:)?//(www\?|\?)?" + :regex #"^(https?:)?//(www\?|\?)?" :queue (-> (PersistentQueue/EMPTY) (conj :a :b :c :d :e :f :g)) :queue-empty (PersistentQueue/EMPTY) @@ -122,6 +122,7 @@ nippy/stress-data :time-duration (java.time.Duration/ofSeconds 100 100) :time-period (java.time.Period/of 1 1 1) + :bytes (byte-array [(byte 1) (byte 2) (byte 3)]) :objects (object-array [1 "two" {:data "data"}]) :stress-record (StressRecord. "data") diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index 6af7ae6..5711b2f 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -2018,11 +2018,11 @@ Object (equals [a b] (= (.-data a) (.-data ^StressType b)))) (def stress-data "Reference data used for tests & benchmarks" - {:bytes (byte-array [(byte 1) (byte 2) (byte 3)]) - :nil nil - :true true - :false false - :False (Boolean. false) + {:nil nil + :true true + :false false + :boxed-false (Boolean. false) + :char \ಬ :str-short "ಬಾ ಇಲ್ಲಿ ಸಂಭವಿಸ" :str-long (apply str (range 1000)) @@ -2089,6 +2089,7 @@ :time-duration (enc/compile-if java.time.Duration (java.time.Duration/ofSeconds 100 100) nil) :time-period (enc/compile-if java.time.Period (java.time.Period/of 1 1 1) nil) + :bytes (byte-array [(byte 1) (byte 2) (byte 3)]) :objects (object-array [1 "two" {:data "data"}]) :stress-record (StressRecord. "data")