18.06.2013, 19:43
Lately I've been interested in this plugin: http://forum.sa-mp.com/showthread.ph...highlight=CSTL
I was thinking about using vectors & maps for things like houses, vehicles, etc'. Instead of using enumerators.
There are quite a few advantages which I could think of: dynamic memory (no more MAX_VALUE), less memory usage (it would only use memory for actually used items).
But I think it would be much slower.
What do you guys think?
Edit: Not sure if this topic should be posted in Discussions.
I was thinking about using vectors & maps for things like houses, vehicles, etc'. Instead of using enumerators.
There are quite a few advantages which I could think of: dynamic memory (no more MAX_VALUE), less memory usage (it would only use memory for actually used items).
But I think it would be much slower.
What do you guys think?
Edit: Not sure if this topic should be posted in Discussions.