procedure Add(const Obj: T);
When creating and destroying a lot of objects, the map will become fragmented (because AGK doesn't reuse IDs, so there will be holes). A more memory efficient (but slightly slower) solution map be to use a hash map instead?
Copyright (c) 2012. All rights reserved.
|