Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wow wow wow!! Vim is NOT multiple-threaded??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Sat May 04, 2013 5:35 pm    Post subject: wow wow wow!! Vim is NOT multiple-threaded?? Reply with quote

This should be like the hugest setback against emacs!! Processing 11 millions lines I see vim using ONE core, more over the file is entirely in RAM and takes for ever to do what's doing!!

wtf.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3182

PostPosted: Sat May 04, 2013 6:00 pm    Post subject: Reply with quote

Just plain vim is a bad choice. Almost all the time goes into vim creating the swap file. This is very bad when you are opening your millions of line of file. So, turn off swap by opening your file with
Code:
vim -n filename

_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2208
Location: UK

PostPosted: Sat May 04, 2013 6:03 pm    Post subject: Reply with quote

Why are you trying to cut planks with a hammer?
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3182

PostPosted: Sat May 04, 2013 6:13 pm    Post subject: Reply with quote

Ant P. wrote:
Why are you trying to cut planks with a hammer?
:lol:
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2180
Location: Netherlands

PostPosted: Sat May 04, 2013 6:44 pm    Post subject: Reply with quote

Ant P. wrote:
Why are you trying to cut planks with a hammer?

And when it fails he becomes obnoxious as always.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has midori to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1549

PostPosted: Sun May 05, 2013 6:34 am    Post subject: Re: wow wow wow!! Vim is NOT multiple-threaded?? Reply with quote

_______0 wrote:
This should be like the hugest setback against emacs!! Processing 11 millions lines I see vim using ONE core, more over the file is entirely in RAM and takes for ever to do what's doing!!

_______0 ... bad call really, a 11MLOCer (as a single file) is not something one would use a "screen-oriented text editor" for ... even emacs users aren't that crazy. Thats the equivalent of the entire 2.6.29 kernel source tree.

_______0 wrote:
wtf.

indeed ... PEBCAK

best ... khay
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2424
Location: Germany

PostPosted: Sun May 05, 2013 11:08 pm    Post subject: Re: wow wow wow!! Vim is NOT multiple-threaded?? Reply with quote

khayyam wrote:
even emacs users aren't that crazy.


Emacs already has performance problems with much smaller files (2-3 thousand line-ish). Syntax highlighting, indenting, and all other things it does that I don't know about, taking its toll...
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2859
Location: Omnipresent

PostPosted: Mon May 06, 2013 8:37 am    Post subject: Reply with quote

The real editor war is not between vi and emacs, it's between ed and everything else.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum