Completed
Details
Assignee
UnassignedUnassignedReporter
Thomas HellerThomas HellerPriority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Thomas Heller
Thomas HellerPriority
Created March 1, 2017 at 12:16 PM
Updated February 25, 2022 at 5:06 PM
Resolved September 1, 2018 at 10:28 PM
In
cljs.analyzer/analyze-form
theload-core
fn is called.load-core
guards against doing its work multiple times. It then always calls(intern-macros 'cljs.core)
, which also checks whether it was called before. This ends up doing the checks very often.load-core
should probably be called in a less frequent manner.Performance impact is very minimal but I did a quick test in my work project and
load-core
is called 416671 times there (without cache) when 1 would be enough.