   ;;  1.0µs (Match records)
   ;; 0.63µs (Single sweep path paraµs)
   ;; 0.51µs (Cleanup)
+  ;; 0.33µs (Java)
   (cc/quick-bench
-    (segment/lookup reitit-segment "/v1/orgs/1/topics")))
+    (segment/lookup matcher "/v1/orgs/1/topics")))
 
 (comment
   (bench!))

(comment
  (p/lookup pedestal-tree "/v1/orgs/1/topics")
  #_(trie/lookup reitit-tree "/v1/orgs/1/topics" {})
  (segment/lookup reitit-segment "/v1/orgs/1/topics"))

  (:require [clojure.test :refer :all]
            [io.pedestal.http.route.prefix-tree :as p]
            [reitit.segment :as segment]
            [criterium.core :as cc])
  (:import (reitit Trie)))

;;
;; testing
