summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-09-13 20:36:47 -0700
committerYuan Fu <casouri@gmail.com>2023-09-13 21:01:19 -0700
commitb1291a2f8479ea0c53811515474bb9222ee33d05 (patch)
treefeae77522eb5d877b2cc79bf016aeafa4df7ff60 /admin
parent63766b49e2a4a8c1b46446d0e97bfac640159610 (diff)
downloademacs-b1291a2f8479ea0c53811515474bb9222ee33d05.tar.gz
; * admin/notes/tree-sitter/performance (Facts): Fix filling.
Diffstat (limited to 'admin')
-rw-r--r--admin/notes/tree-sitter/performance5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/notes/tree-sitter/performance b/admin/notes/tree-sitter/performance
index 0e8351403af..315a550be34 100644
--- a/admin/notes/tree-sitter/performance
+++ b/admin/notes/tree-sitter/performance
@@ -3,7 +3,10 @@ TREE-SITTER PERFORMANCE NOTES -*- org -*-
* Facts
Incremental parsing of a few characters worth of edit usually takes
-less than 0.1ms. If it takes longer than that, something is wrong. There’s one time where I found tree-sitter-c takes ~30ms to incremental parse. Updating to the latest version of tree-sitter-c solves it, so I didn’t investigate further.
+less than 0.1ms. If it takes longer than that, something is wrong.
+There’s one time where I found tree-sitter-c takes ~30ms to
+incremental parse. Updating to the latest version of tree-sitter-c
+solves it, so I didn’t investigate further.
The ranges set for a parser doesn’t grow when you insert text into a
range, so you have to update the ranges every time before