Hi there,
I'm trying to create a data structure to store at least 13-15 million items that I need constant time access to.
Memory is a real issue, so I tried implementing the structure as a simple array (int a[10000000]), but I've found out, since arrays use the stack, that I overflow it around 100k items.
I don't know how to use the heap and still allow constant time access to my data members, and implement it in assembly to cut memory usage.
Do any of you guys have any ideas that could help?
Thank you.
Best regards,
Thomas J.