HNHacker News
TopNewBestAskShowJobs

eblume

735 karma · joined March 28, 2012

github.com/eblume
submissionscomments
eblume··on Python for Perl programmers
Though the results may have changed since, I once had to parse a very, very large file (about 5 GB) line-by-line. I tested a number of different methods, and ultimately discovered that reading the entire file using .readlines() was faster by a significant margin. I vaguely recall it was more than four times faster, actually - and that was a really big win when you're talking about a data set that large.

Granted, our machine had a perhaps-unusual design in that it had multiple RAID 6 data banks, a very powerful dedicated IO controller, and about 128 GB of RAM. So your mileage may vary.

Unfortunately I don't have access to that machine any more so I can't perform the same benchmark, but I have a nagging feeling that if I ran the tests again with Python 3.2 I'd get different results.

eblume··on Kickstarter: rails.app
I decided to learn Rails this week, and just went through the process of following http://railstutorial.com (actually I'm about half through it.)

The tutorial made it extremely easy. I was up in running in an hour or two, and it only took that long because I am taking it rather obsessively slow, following all reference links, and brand new to Ruby.

I, for one, do not see the need for this.

← PreviousPage 7 of 7