If one result takes half an hour, 300 results will take 6 days. Why not just write to file every single time?
My guess is that the results are printed in bunches of (say) 4KB, which means that each result is about 12 characters (4096 / 300 = 13.6 characters).
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.