I have an algorithm, it works on very large data sets. In it's initial version it simply reads in all the data before creating data-structures so that queries can be made on it, I'm realising that I ...