]> git.eshelyaron.com Git - emacs.git/commit
Remove call to nconc to improve performance
authorYuan Fu <casouri@gmail.com>
Mon, 9 May 2022 19:34:01 +0000 (12:34 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 9 May 2022 19:34:01 +0000 (12:34 -0700)
commit0d4155826a523f28c616295a91e7859c1fc05426
tree4ffbcf6c5aa3b83a42a1d71b4e1b001752ec9cd1
parent82d5e902af68695481b8809e511a7913ef9a75aa
Remove call to nconc to improve performance

* src/treesit.c (struct capture_range): New struct.
(ts_predicate_capture_name_to_text, ts_predicate_equal,
ts_predicate_match, ts_eval_predicates): Replace capture list with
capture_range.
(Ftreesit_query_capture): Remove call to nconc.
src/treesit.c