News for hackers. Stuff that matters.
Re:Microsoft's Quiet Success Story: Windows 7 by tl on Wednesday April 07, 2010 @09:08PM (#1248861)
It also has shitty performance. 32-bit emacs on my windows machine at work can't open a 300 MB text file for analysis. Turns out that 32-bit emacs uses a 28-bit pointer (256 MB file size limit, 64-bit emacs handles up to 1 million TB). So, I tried splitting the file. Here's my result:

On my home machine using linux / bash / cat | head+tail: about 4 seconds

On my (slower) work machine using cygwin: about 10 seconds

Using powershell: writes about 100-200k / sec (so about 25-30 minute if it ran to completion), but it chokes around 64MB. I know, you can write a bunch of .net code in powersheel and get non-terrible performance. That's not the point; idiomatic code should not be unusable.

There are no comments on this comment yet.