fix: perf optimize on cleanup

This commit is contained in:
Peng Xiao
2022-09-28 14:22:46 +08:00
parent b3ecf26b90
commit 01b04fc2f8
6 changed files with 100 additions and 101 deletions

View File

@@ -98,7 +98,6 @@ and handles unexpected failure."
(map first))
title (when (gp-block/heading-block? (first ast))
(:title (second (first ast))))
_ (println title (second (first ast)))
body (vec (if title (rest ast) ast))
body (drop-while gp-property/properties-ast? body)
result (cond->