Re: [vim/vim] pattern_match(): cache the compiled program of the last pattern (PR #20941)
Christian Brabandt (Vim Github Repository) <[email protected]> Wed, 05 Aug 2026 11:26:45 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/pull/20941/[email protected]> |
chrisbra left a comment (vim/vim#20941) Thanks. The numbers on the big-alternation case are surprising, I didn't expect compilation to dominate that heavily, however that may partly because of the NFA regex engine? Can you run this using the backtracking engine? Still I am a bit hesitant about properly invalidating the cache, when not doing correctly, this could bite us later and would be hard to track down. -- Reply to this email directly or view it on GitHub: https://github.com/vim/vim/pull/20941#issuecomment-5195671594 You are receiving this because you are subscribed to this thread. Message ID: <vim/vim/pull/20941/[email protected]> -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/20941/c5195671594%40github.com.