in reply to My data structure needs too much memory!
It seems to me that you should be able to come up with a mathematical expression or function that lets you do something like f($a,$b,$c) = $d.
I guess I'm saying, are you sure you need to do all that calculation ahead of time? If you do it at the time of your comparison, it'll probably take a lot more CPU (a LOOOOT more CPU), but then at least it won't bust your RAM.
|
|---|