You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clojure compiles (let [cls String] (instance? klass "a")) less optimally than (instance? String "a"). This affects this line, which I imagine is a pretty hot code path in schema usage:
Clojure compiles
(let [cls String] (instance? klass "a"))
less optimally than(instance? String "a")
. This affects this line, which I imagine is a pretty hot code path in schema usage:schema/src/cljc/schema/core.cljc
Line 166 in 8fcb57f
The perf difference seems roughly 2x.
The text was updated successfully, but these errors were encountered: