Having spent a week or two at fixing up a code for "Genetic Classification of Populations Using Supervised Learning" was interesting, but I was baffled at why there were constant fopen's and fclose's for loading up an input file that never got altered.

Removing the fopen/fclose calls to point to a piece of memory automagically made the the code run about 20% faster. The code isn't as slow as I thought it was going to be, it runs at quite an acceptable rate now.


Related posts:

Alternatives to using GOLD, Maui for accounting and banking for HPC systems
Posted

The ultimate sandbox game, ever!
Posted

Creating a git branch with no ancestry
Posted

Using gource to visualise projects stored in version control
Posted

git-annex and tahoe-lafs as a special remote
Posted

Bookmark and Share