Hello there Gamedev,
So I've been looking for a datastructure that would respond to my conditions for quite some time with not much luck, knowing that much experiences dwells here, here I am ...
The purpose is to store positions (floats) linearly with as less overhead as possible, kinda like an arr[i], where i is a float, or something near that, like a function that would return a value when fed with a float (get(1.25) = x), that value stored at that key (float) before (store(x, 1.25))
The datastructure must be:
~ As Fast as possible
That's it, if you know anything like this then feel free to post here
Your help is appreciated and thanks for reading