On Thursday, July 10, 2014 6:56:32 PM UTC+9, Bram Moolenaar wrote:
> Hmm, I would not expect any slow down because of this patch.  Are you
> sure it's not something else?  Ideally you would reverse this specific
> patch and check if the excessive CPU still happens.

Bram, apologies for sending private message by mistake.

Scroll text like a crazy with trackpad (iMac with 4 Cores)
Patched   version: aprox. max 70% CPU usage
Unpatched version: aprox. max 35% CPU usage

I find a reasonable work around for sluggishness in normal scrolling changing 
my .vimrc: 
< let g:syntax = '???'
< let g:currentTag = '???'
< autocmd CursorHold * let g:syntax = SyntaxItem()
< autocmd CursorHold * let g:currentTag = tagbar#currenttag('%s','','s')
< 
---
>  
271c266
< set statusline+=%3*\ %{g:currentTag}\ 
---
> set statusline+=%3*\ %{tagbar#currenttag('%s','','s')}\ 
273c268
< set statusline+=%5*\ %=%{g:syntax}
---
> set statusline+=%5*\ %=%{SyntaxItem()}

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui