Wednesday, December 23, 2009

Re: Not necessarily a "question" - but need help nonetheless

Hi Chris!

On Mi, 23 Dez 2009, Chris Jones wrote:

> Where slow is concerned, the feature might be that Bram does not favor
> the idea of turning vim into an IDE, or so I heard.. All the same, even
> if vimscript is not C, I am quite shocked at how long it takes to load a
> 100-file or so directory.. feels like minutes and must be something like
> five seconds, on my laptop.

Is that the NERDtree that is so slow? I am asking, because a file with
several hundreds of lines opens nearly instantaneously here. But then, I
usually try to avoid loading plugins, since I need to work on many
different places where often I usually only have a vanilla vim available
and try not to become dependent on plugins.

Though I have had speed problems with vim before. But that was with
files of several hundred thousands of lines. (At work I need to load a
lot of large CSV files into a DWH.) And I often find it very frustrating
that vim is so "slow".

But then I think of the situations, like today, where I needed to
transform a tab delimited file into a sql insert statements (by the use
of some regex). This resulted in a file of about 65k lines (about
16,000 insert statements). Loading that file into Toad, made it so
slow, that I couldn't even navigate anymore (Windows complained about
running out of virtual memory) and when trying to execute it, Toad
crashed ;) So Vim is certainly capable of handling large files just
find. I still wish, it could be just a little bit faster ;)

Having said that, I wonder, whether it would be possible to have
NERDtree cash its directory listings, so it wouldn't be so time
consuming to recreate the view. But then I do not know anything about
Nerdtree either (not even how it is spelled correctly ;)) and maybe it
does that already…

regards,
Christian
--
hundred-and-one symptoms of being an internet addict:
32. You don't know what sex three of your closest friends are, because they
have neutral nicknames and you never bothered to ask.

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

No comments: