xolox / vim-easytags

Automated tag file generation and syntax highlighting of tags in Vim
http://peterodding.com/code/vim/easytags/
1.01k stars 109 forks source link

Slow #32

Open jonasdiemer opened 11 years ago

jonasdiemer commented 11 years ago

Hi,

I notice slowdowns by easytag when it autoupdates tags/highlights.

I enabled vbs=1 and observed that highlighting takes >4 seconds, while updating the tags takes ~2 seconds. However, running a simple ctags from the command line only takes ~ 0.01s, so I wonder where easytags wastes it's time...

Any idea?

jonasdiemer commented 11 years ago

I have tried some debugging. It seems that s:filter_merge_tags() is the culprit, which takes about 2 seconds in my case when updating a python file with 240 lines of code and using tag files separated by file type where the python tagfile is around 6000 lines.

Is this normal?