diff options
| author | Yuan Fu | 2023-08-30 20:53:03 -0700 |
|---|---|---|
| committer | Yuan Fu | 2023-08-30 20:53:03 -0700 |
| commit | ec4d29c4494f32acf0ff7c5632a1d951d957f084 (patch) | |
| tree | f97d9657fc9b69d4db29bc62271481d4639e3db3 /java/org/gnu | |
| parent | f26622b2a470a6d9cfbabbaa96f6aa3966febf2f (diff) | |
| download | emacs-ec4d29c4494f32acf0ff7c5632a1d951d957f084.tar.gz emacs-ec4d29c4494f32acf0ff7c5632a1d951d957f084.zip | |
Improve performance of treesit_cursor_helper_1
* src/treesit.c: (treesit_cursor_helper_1): Use
ts_tree_cursor_goto_first_child_for_byte to speed up traversing among
siblings. The "while (ts_node_end_byte (cursor_node) < end_pos)" can
be removed with the check added in the loop below.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions