I have been wondering if it would be possible to generate hashes, store them in a file, then use them as hashes when mining. When you would mine, you would not generate the hashes, but instead, just compare them to the target. This would be much more efficient, right? Anyway, here is some psudo python code i made up:
import hashlib while True: hash = hashlib generate random hashes file = open('hashes.txt', 'w') file.write(hash)
or something like that.