News for hackers. Stuff that matters.
Re:Chocolat 1.0 Released by calinet6 on Thursday June 28, 2012 @03:28PM (#4173452)
Really? I'm honestly surprised.

One of the things I love about Sublime 2 is how it handles large files.

I just ran `cat /dev/urandom > test.log` for about 15 seconds to generate a 160MB file, and it's currently opening in the background with a nice smooth status bar in Sublime, using up a single yielding thread while remaining completely and entirely UI responsive while loading. You can cancel loading at any time by closing the file; this doesn't interrupt workflow or slow you down at all if you accidentally open a massive file (awesome).

It finished opening the entire 1.1 million (!) line file in about 2 minutes, followed by a brief 3 second delay, followed by displaying it perfectly in the editor. I could smoothly scroll through the whole file (as smooth as if it were 100 lines), even using the minimap that displays a small representation of the whole file. Memory usage jumped about 200 MB, but that's to be expected and is rather efficient considering the task.

I'm not a Sublime evangelist or anything, just saying my experience completely contradicts yours, to such a degree that I think of Sublime second when I want to open large files.

Why second? Well, because you should really be using command line tools for files that big anyway.

*edit: Almost forgot to delete that test file. Whew.

Re:Chocolat 1.0 Released by comex on Thursday June 28, 2012 @07:30PM (#4174483)
vim loads the same file in 3 seconds. (Doing large smooth scrolls using the scrollbar lags out for a few seconds, but jumping to a given line is instantaneous.)
Re:Chocolat 1.0 Released by losvedir on Thursday June 28, 2012 @07:38PM (#4174508)
That's a relatively recent feature. Several months ago opening large files would stall Sublime something fierce.