remove extra overhead in cljs protocol method invocations
This commit is contained in:
parent
859b31bce7
commit
b626227a9e
1 changed files with 5 additions and 5 deletions
|
|
@ -124,17 +124,17 @@
|
||||||
#?(:cljs
|
#?(:cljs
|
||||||
(do
|
(do
|
||||||
(defn structure-path-impl [_]
|
(defn structure-path-impl [_]
|
||||||
{:select* (fn [this structure next-fn] (select* this structure next-fn))
|
{:select* select*
|
||||||
:transform* (fn [this structure next-fn] (transform* this structure next-fn))
|
:transform* transform*
|
||||||
})
|
})
|
||||||
|
|
||||||
(defn collector-impl [_]
|
(defn collector-impl [_]
|
||||||
{:collect-val (fn [this structure] (collect-val this structure))
|
{:collect-val collect-val
|
||||||
})
|
})
|
||||||
|
|
||||||
(defn structure-vals-path-impl [_]
|
(defn structure-vals-path-impl [_]
|
||||||
{:select-full* (fn [this structure next-fn] (select-full* this structure next-fn))
|
{:select-full* select-full*
|
||||||
:transform-full* (fn [this structure next-fn] (transform-full* this structure next-fn))
|
:transform-full* transform-full*
|
||||||
})
|
})
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue