On Fr, 15 Aug 2014, h_east wrote:
> After patch 7.4.362, Processing time is slow under certain conditions.
>
> That condition is 'set hlsearch' and 'set cursorline'.
>
> I've prepared a script file(test603.vim) for verification.
> "====================================================
> function! T()
> call cursor(1, 1)
> let t = reltime()
> for l in range(1, line('$'))
> call cursor(l, 1)
> redraw
> endfor
> echo reltimestr(reltime(t))
> endfunction
>
> function! S()
> let s = []
> for l in range(1, line('$'))
> let s += ['\%' . l . 'l\%(abcde\)']
> endfor
> let @/ = join(s, '\|')
> endfunction
>
> :set hlsearch
> :set cursorline
> :call setline(1, repeat(['abcdef'], 100))
> :call S()
> :call T()
> "====================================================
>
> Exec below.
> $ vim -N -u test603.vim
>
> Exec result:
> Vim Ver. Elasped time
> 7.4.131 0.045500
> 7.4.361 0.046550
> 7.4.362 1.136427 <-- It is 25 times slower.
> 7.4.398 1.135489
>
> I think patch 7.4.362 is not enough multi-byte support.
>
> I wrote a patch.
> Vim 7.4.404 with my patch elapsed time is 0.053999!
> Please check this.
Can you all please check, if all your issues also occur with the patch
from here:
https://groups.google.com/forum/#!msg/vim_use/V6cRWX4c13E/qh3YCUESU0kJ
Thanks,
Best,
Christian
--
--
--
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.