Trying on Windows 7 64-bit with 64-bit HUGE Vim 7.4.522 shows it taking a 
REALLY long time just to match "1234567890" (one line in the buffer) with 
pattern ".\{1,8000}".

Furthermore, I can't seem to interrupt the search with <C-C>, and I get a 
"search hit BOTTOM, continuing at TOP" message before it finally matches.

Anchoring the match by changing the pattern to ".\{1,8000}0" or ".\{1,8000}$" 
does not seem to help. Even anchoring at both ends, "^.\{1,8000}$", doesn't 
help very noticeably.

Setting re=1 makes the search pretty much instantaneous.

Omitting the "8000" makes the search just as fast with re=2. I.e. this pattern 
is fast: ".\{1,}"

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui