 (defn -unloadRecords [records]
   (ohr/dispose (:offheap records)))
 
+
 ;;Result "countUniqueBikes":
-;;  0.658 ±(99.9%) 0.004 s/op [Average]
-;;  (min, avg, max) = (0.623, 0.658, 0.696), stdev = 0.016
-;;  CI (99.9%): [0.654, 0.662] (assumes normal distribution)
+;;  0.657 ±(99.9%) 0.003 s/op [Average]
+;;  (min, avg, max) = (0.630, 0.657, 0.723), stdev = 0.013
+;;  CI (99.9%): [0.654, 0.660] (assumes normal distribution)
 (defn -countUniqueBikes [records]
   (loop [i 0
          coll (:records records)

   :name org.gensym.hikesaber.benchmark.harness
   :methods [#^{:static true} [countUniqueBikes [Object] int]
             #^{:static true} [countUniqueBikesTransduce [Object] int]
             #^{:static true} [countUniqueBikesOffHeap [Object] int]
             #^{:static true} [countUniqueBikesOffHeapNth [Object] int]
             #^{:static true} [countUniqueBikesOffHeapTransduce [Object] int]
             #^{:static true} [loadRecords [] Object]

                 (conj ids (ohr/bike-id record))))))))



;;Result "countUniqueBikesOffHeapTransduce":
;;  0.315 ±(99.9%) 0.007 s/op [Average]
;;  (min, avg, max) = (0.273, 0.315, 0.372), stdev = 0.029
;;  CI (99.9%): [0.308, 0.321] (assumes normal distribution)
(defn -countUniqueBikesOffHeapTransduce [records]
  (count (transduce (map ohr/bike-id) conj #{} (:offheap records))))
