chore: add notes to improve the performance of with-children-refs

pull/1410/head
Tienson Qin 2021-03-05 14:22:36 +08:00
parent 907ec57d85
commit 9f065e9f98
1 changed files with 1 additions and 0 deletions

View File

@ -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)]