hi bjorn,


as you said it would be a large c++ file,

i suppose to not generate an array of arrays or a matrix,
but instead doing two runs through the data.
reading the file two times is no issue, like it will still be cached.


just as an optimization thing ...


normally ruby gets slower the more code one adds to optimize it :-)


cheers 
markus