On 12/06/2013 03:25, Charles E Campbell wrote:
Mike Williams wrote:

So with my setup, nerdtree takes a while to start in large directory
of files, such as VIM's src directory.  On Windows the profiler shows
a large amount of time is being spent in the CRT's isalnum(),
isalpha() and islower() internals, coping with locale handling.
With vim 7.3.1169, using netrw and tree listing style:

src/ djinni? time vi -c "e ." -c "q"

real    0m0.36s
user    0m0.16s
sys    0m0.03s


(vi is aliased to gvim)

Sorry, not quite sure what your point is. You may just have a faster machine than I. Unix CRT may behave differently in this case (can't see anything obvious in VIM code base to indicate different locale setup).

FWIW I invoke NERDTree with gvim -c NERDTree -c q and I have gvim configured to open as a full size window. Switching to vim (i.e. in a console) makes no difference to the profile results. This seems like a definite win for Windows performance wise.

TTFN

Mike
--
Yoghurt the Great, Yoghurt the All Powerful? No just plain yoghurt.

--
--
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/groups/opt_out.


Raspunde prin e-mail lui