mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 22:54:48 +00:00
Performance tuning
This commit is contained in:
@@ -219,7 +219,7 @@
|
||||
(defn parse-heading
|
||||
[{:heading/keys [uuid content meta file page] :as heading} format]
|
||||
(when-not (string/blank? content)
|
||||
(let [ast (format/to-edn content format nil)
|
||||
(let [ast (profile "Mldoc parsing to ast:" (format/to-edn content format nil))
|
||||
start-pos (:pos meta)
|
||||
encoded-content (utf8/encode content)
|
||||
content-length (utf8/length encoded-content)
|
||||
|
||||
Reference in New Issue
Block a user