3 ms·
> t was the first editor I’ve seen to choke when opening 1M file I recall trying Atom before VSCode had been released. I loaded up a 1MB XML file and it ground
by magicalhippo 4y ago
> t was the first editor I’ve seen to choke when opening 1M file
I recall trying Atom before VSCode had been released. I loaded up a 1MB XML file and it ground to a halt.
After some searching I found a bug tracker issue reflecting this, where one of the devs said something to the effect of "a 1MB XML file is extremely large, I don't think we'll support that".
At that point I uninstalled Atom.
On a related note, not long ago I accidentally dragged a 450MB SQL script into VSCode. I fully expected it to cave like Atom had on the 1MB XML. However to my pleasant surprise it worked just fine. Editing it was as quick as a regular file, and the memory usage was not excessive (around 2.5G total). I admit I was a bit impressed by that.
- comprev 4y agoI had a gig which required opening ridiculously large XML files (metadata for music albums). Some classical music compilations (think "6 CD bargain bin" boxsets) would end up with 1-2GB XML files. Sublime didn't even flinch when opening and navigating around the file. Truly impressive text editor and absolutely worth the license cost.
- ddevault 4y ago2.5G is definitely excessive.
- ajkjk 4y agoNot optimized, perhaps, but not unreasonable given the metadata over a nearly-500MB file I would think?
- magicalhippo 4y agoNot sure how it represents text, but if it's using UTF-16 (I'm on Windows), then that's 900MB just there given the ASCII input file. Not gonna say it's lightweight, but not excessive in my book.