Lech Lorens wrote:

> When splitting a window, all the location lists of the original window
> are copied to the newly created one. If the newly created window is a
> quickfix window or a location list window, the copied locations lists
> are immediately destroyed. The attached patch prevents the copying if it
> is unnecessary. This can shorten the execution time of the :copen,
> :lopen, :cwindow, :lwindow commands significantly, particularly for
> large location lists.
> 
> The speedup I measured varied between 4 and 50 times, depending on the
> size of input. This might not be very meaningful, but my (very
> subjective) feeling is that the comfort of getting a quickfix window
> instantly is much greater than that of having to wait for 1.5 seconds.

Thanks.  I'll look into it later.

-- 
"I simultaneously try to keep my head in the clouds and my feet on the
ground.  Sometimes it's a stretch, though."              -- Larry Wall

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui