mirror of https://github.com/logseq/logseq
chore: add notes to improve the performance of with-children-refs
parent
907ec57d85
commit
9f065e9f98
|
@ -923,6 +923,7 @@
|
|||
(remove (fn [block] (contains? childrens (:db/id block))) blocks)
|
||||
blocks)))
|
||||
|
||||
;; TODO: improve perf
|
||||
(defn with-children-refs
|
||||
[repo blocks]
|
||||
(when-let [conn (conn/get-conn repo)]
|
||||
|
|
Loading…
Reference in New Issue