chore: remove :block/title, :block/body and :block/unordered

For two reasons:

1. Reducing memory usage, both block/title and block/body are AST parsed
by Mldoc. After removing, logseq is able to handle 10k notes.

2. Simplify the db schema
This commit is contained in:
Tienson Qin
2021-12-06 19:20:56 +08:00
parent 1ca2b3fc21
commit 7822848af8
18 changed files with 92 additions and 152 deletions

View File

@@ -68,7 +68,7 @@
(remove nil?)))))))
;; TODO: reduced version
(defn walk-block
(defn- walk-block
[block check? transform]
(let [result (atom nil)]
(walk/postwalk