At 11:05 AM -0600 12/16/02, Puneet Kishor wrote:
duplicates then sorted results, and wrote 'em out to another file. The only catch -- the original file was 145 Mb with close to 3.5 million lines (I created that by simply cat-in >> the same file over and over again to an output file until my fingers got tired). The end result was a svelte, 600+ line file, about 11 kb.

The operation took about 122 secs on the Windows machine, and 299 seconds on the iBook.
There's another variable to keep in mind--disk speed. Especially on laptops you may find that the disk speed is significantly slower. I see it particularly whenever I do something like "make install" in one of my software projects. On a linux box it zips along. On my laptop it crawls along running each one. Some of that may be file system, but I actually use UFS for a lot of my laptop work. I suspect that fundamentally it's just a lot slower drive.
--

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.


Reply via email to