major optimization for use case of passing an already compiled path to inline caching specter operations
This commit is contained in:
parent
73e460df80
commit
b927d8e241
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@
|
||||||
~precompiled-sym (.-precompiled info#)
|
~precompiled-sym (.-precompiled info#)
|
||||||
~params-maker-sym (.-params-maker info#)]
|
~params-maker-sym (.-params-maker info#)]
|
||||||
(if (nil? ~precompiled-sym)
|
(if (nil? ~precompiled-sym)
|
||||||
(i/comp-paths* ~(vec path))
|
(i/comp-paths* ~(if (= (count path) 1) (first path) (vec path)))
|
||||||
(if (nil? ~params-maker-sym)
|
(if (nil? ~params-maker-sym)
|
||||||
~precompiled-sym
|
~precompiled-sym
|
||||||
~handle-params-code
|
~handle-params-code
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue