Jaehwang Jung
2b6c9bbe7f
perf(treesitter): incremental foldupdate
...
Problem:
While the fold level computation is incremental, the evaluation of the
foldexpr is done on the full buffer. Despite that the foldexpr reads
from the cache, it can take tens of milliseconds for moderately big (10K
lines) buffers.
Solution:
Track the range of lines on which the foldexpr should be evaluated.
2024-04-21 10:42:00 +02:00
..
2024-04-16 19:21:02 +02:00
2024-04-19 14:50:12 +08:00
2024-03-27 10:39:46 +00:00
2024-04-20 15:40:01 +02:00
2024-01-24 19:26:53 +01:00
2024-04-21 10:42:00 +02:00
2023-12-21 11:47:04 +08:00
2024-04-05 18:07:43 +02:00
2024-04-16 19:21:02 +02:00
2024-04-18 07:57:58 -07:00
2024-03-06 10:45:22 +00:00
2024-03-09 11:21:55 +00:00
2024-02-13 14:49:20 +00:00
2024-03-09 11:21:55 +00:00
2024-04-15 04:33:09 -07:00
2024-03-12 15:15:55 +08:00
2024-04-18 07:57:58 -07:00
2024-01-16 09:33:10 +00:00
2024-04-19 16:09:41 +02:00
2024-04-16 12:13:44 -07:00
2024-03-27 10:39:46 +00:00
2024-01-19 11:54:04 +00:00
2024-04-13 01:18:40 +02:00
2024-03-16 19:26:10 +00:00
2022-08-23 13:02:55 +02:00
2024-04-19 06:22:41 -07:00
2024-03-16 19:26:10 +00:00
2024-03-06 10:45:22 +00:00
2024-04-20 15:40:01 +02:00
2024-02-03 16:53:41 +01:00
2024-01-14 11:08:33 +00:00
2024-03-16 19:26:10 +00:00
2024-04-16 07:31:43 -07:00
2024-03-16 19:26:10 +00:00
2024-03-16 19:26:10 +00:00
2024-03-16 19:26:10 +00:00
2024-03-09 11:21:55 +00:00
2024-04-20 05:47:08 -07:00
2024-02-28 10:50:53 +01:00
2024-03-09 11:21:55 +00:00
2023-12-20 18:58:40 +01:00