Closed myguidingstar closed 5 years ago
passing the whole big env to a lambda that produces expressions will make it harder to cache. Separate the getter functions. Currently:
env
(pseudo-column-λ env) ;; => expression (extra-conditions-λ env) ;; => expression
should become:
(let [extracted-env (pseudo-column-getter env)] (pseudo-column-λ extracted-env)) ;; => expression (more cachable) (let [extracted-env (pseudo-column-getter env)] (extra-conditions-λ extracted-env)) ;; => expression (more cachable)
midleware system to share computation between such variable-getter functions
passing the whole big
env
to a lambda that produces expressions will make it harder to cache. Separate the getter functions. Currently:should become: