On Sat, Mar 8, 2014 at 1:40 PM, Gyepi SAM <[email protected]> wrote:
> For fun, I wrote a version in Go and it's twice as fast as the perl > version. I imagine a C version would be faster yet, but I get paid for that > kind of fun. I'd be happy to send you the Go version if you're interested. I'm curious how you account for disk caches when your bench marking. I fully expect that the CPU version of the code will be faster in GO than Perl. But I wonder how much this matters if the file isn't already in the disk cache. An interesting test would be to run the GO version first on a file that's you can be sure is not in the disk cache, then to run the Perl version on that file. I.e. let Perl benefit from the disk cache and see if GO is still faster. > -Gyepi > > _______________________________________________ > Boston-pm mailing list > [email protected] > http://mail.pm.org/mailman/listinfo/boston-pm > _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

