Meanwhile, my C program to read and sort lines of bible.txt runs in less than a millisecond. And it's bloody simple, any C programmer who knows what he's doing can get there with just the basic techniques and no libraries besides stdlib and POSIX <sys/time.h> for measuring.