Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Nov 5, 2024
1 parent 5370bc1 commit 0f7a20f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/darkleaf/di/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@
(defn- with-ns
"Adds support to the registry for looking up vars."
[registry]
;; possible optimization for di/use-cache:
;; (memoize (fn [key) ....)
(fn [key]
(?? (some-> key
try-requiring-resolve
Expand Down

0 comments on commit 0f7a20f

Please sign in to comment.