GMWolf
aka fel666
I need to store a set of arrays in a way that would allow very fast adding/removing of any elements in the set. (so hashset, treeset, etc. A List would be too slow).
I must store the array given (not a copy of the array), as the array is used as keys throughout the project.
Im currently thinking of using a ds_map and be done with it but i first wanted to ask you if there where any better alternatives - It would be best if this system had the lowest cpu overhead possible (I can deal with slightly ugly).
The arrays used can be made longer to store any extra information to make this faster (like an index or something).
[edit] I also have to be able to itterate over this set fairly quickly.
Thanks for your help,
Felix
I must store the array given (not a copy of the array), as the array is used as keys throughout the project.
Im currently thinking of using a ds_map and be done with it but i first wanted to ask you if there where any better alternatives - It would be best if this system had the lowest cpu overhead possible (I can deal with slightly ugly).
The arrays used can be made longer to store any extra information to make this faster (like an index or something).
[edit] I also have to be able to itterate over this set fairly quickly.
Thanks for your help,
Felix
Last edited: