Since storing the file name instead of creating a buffer for entries in
the quickfix list has disadvantages, I had a look at whether we can keep
the current behavior and just make it faster.

With a profiler I found the code where most time is spent.  I did a few
optimizations and it now works a lot faster.  It depends on what you do,
but it can easily be ten times faster.

Please take the latest version and try it out with your script.  Let us
know whether it still seems slow.  For what I tried it was grep that
took most of the time, Vim adding the lines is quite fast now.

Part of this is dealing with a long list of buffers.  That's useful
anyway.

-- 
XML is a nice language for computers.  Not for humans.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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