T
Tom
Hi
I am looking for an optimal data-structure in order to replace a
map<int,float>.
I use it as some kind of sparse array representation.
The facts:
- the population in the data-structures can be bigger than 10^6
- the maximum number of elements (upper bound) is known and fixed
- the key is an integer, the element is a float value
- I need to do lots of access/insertion operations, but I don't care
about their ordering
Any help is welcome.
If this post is not adapted to this group, please let me know.
Thanks.
Tom
I am looking for an optimal data-structure in order to replace a
map<int,float>.
I use it as some kind of sparse array representation.
The facts:
- the population in the data-structures can be bigger than 10^6
- the maximum number of elements (upper bound) is known and fixed
- the key is an integer, the element is a float value
- I need to do lots of access/insertion operations, but I don't care
about their ordering
Any help is welcome.
If this post is not adapted to this group, please let me know.
Thanks.
Tom