diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-31 15:48:04 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-31 15:48:04 +0000 |
commit | 64b6e20b84aa3dca07228df923e73c0703b3d5af (patch) | |
tree | 013b60c9e17b9bf6819a0da06feda229adc78b3d /src/char | |
parent | 4dbc7922cdb25fcedc9ca39fc72ddca926e61efe (diff) | |
download | hercules-64b6e20b84aa3dca07228df923e73c0703b3d5af.tar.gz hercules-64b6e20b84aa3dca07228df923e73c0703b3d5af.tar.bz2 hercules-64b6e20b84aa3dca07228df923e73c0703b3d5af.tar.xz hercules-64b6e20b84aa3dca07228df923e73c0703b3d5af.zip |
objects[] array removal (bugreport:2559)
- Removed the 2 MB wide static array in favor of a general-purpose DBMap (id_db for now).
- Inlined functions map_addobject, map_delobject and map_delobjectnofree into their callers' code.
- Replaced the free id lookup algorithm from ancient jathena with something more efficient.
- Moved the algorithm to map_get_new_object_id() (similar idea as r13481).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13503 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
0 files changed, 0 insertions, 0 deletions