        (route-names [_]
          names)
        (match-by-path [_ path]
-         (impl/fast-get data path))
+         (impl/fast-get data (ensure-slash path)))
        (match-by-name [_ name]
          (if-let [match (impl/fast-get lookup name)]
            (match nil)))

       (route-names [_]
         names)
       (match-by-path [_ path]
         (if-let [match (segment/lookup pl path)]
           (-> (:data match)
               (assoc :path-params (impl/url-decode-coll (:path-params match)))
               (assoc :path path))))
       (match-by-name [_ name]
         (if-let [match (impl/fast-get lookup name)]
           (match nil)))

       (route-names [_]
         names)
       (match-by-path [_ path]
         (if (#?(:clj .equals :cljs =) p (ensure-slash path))
           match))
       (match-by-name [_ name]
         (if (= n name)
