MobMap v1.20
The focus in this update was mainly on performance/memory optimizations. The MobMap addon with its now almost 4000 lines of code had just went through its first code refactoring phase, in which I modularized the addon much more than it was before. The code and UI parts for the individual databases were taken out of the main addon and placed into separate files which get loaded together with the according database on demand. In addition to that, I changed a few things in the database format to support this modularization.
All this does result in two improvements:
- The MobMap core addon (the one which is always loaded on startup) memory use dropped to 190 kilobytes from 627 kilobytes before the refactoring. The loading time at startup also improved from 0.164 seconds to 0.093 seconds.
- The biggest database part, the position database, had to be loaded at the first use of MobMap before v1.20. This was necessary because this database contained some information that all the other databases relied upon. The new database format now splits out those parts from the raw position data, which now only gets loaded the first time you really want to display a position. So if you just search for a recipe, a quest or a merchant, the position data won't get loaded anymore.
In addition to this code refactoring, the data export routines were optimized to be much faster (especially with bigger amounts of data).
Besides those performance-related changes, another "functionality" has been added to 1.20 - though you won't see much of it right now: MobMap now also collects loot data. I plan to use this data in several ways: on one hand, I want to provide a database that contains the positions of quest items you get from chests, boxes and similar objects in the WoW world. On the other hand, I might one day add a loot table database to MobMap, however this is not definitely sure yet because I first have to see if and how these big amounts of data can be compressed to fit nicely into the limited amount of WoW addon memory.

