On 2013/09/23 14:36, Liviu Daia wrote: > On 23 September 2013, Stuart Henderson <st...@openbsd.org> wrote: > > It's the new non-backtracking regexp engine at work (see ":help > new-regexp-engine"). It's supposed to be faster than the old one for > complex patterns, but in practice it can be 10+ times slower for things > like syntax highlighting. :) You can turn it off completely with > > set re = 1
Ah: I've tracked this down further. It's a combination of the new regexp engine and malloc flag 'J'. Does anyone have opinions on patching options.c to change the default to re=1? (easily done; updated port diff at http://junkpile.org/vim.diff does this and updates to a newer version from Mercurial).