neovim/test/benchmark
ii14 1cb6040554
perf(events): store autocommands in flat vectors (#23256)
Instead of nested linked lists, store autocommands in a flat, contiguous
kvec_t, with one kvec_t per event type. Previously patterns were stored
in each node of the outer linked list, so they can be matched only once
on repeating patterns. They are now reference counted and referenced in
each autocommand, and matching is skipped if the pattern repeats. Speeds
up creation and deletion, execution is not affected.

Co-authored-by: ii14 <ii14@users.noreply.github.com>
2023-04-27 19:25:08 +02:00
..
autocmd_spec.lua perf(events): store autocommands in flat vectors (#23256) 2023-04-27 19:25:08 +02:00
bench_regexp_spec.lua test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
preload.lua
treesitter_spec.lua test(treesitter): add benchmark #18989 2022-06-16 17:22:43 -07:00