Skip to content

6.7.3

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Sep 18:51

Improved memory consumption

In my tests with a barrens-filled questlog, the memory usage of a complete quest log rebuild
has been reduced from 1.2 MB to ~120 KB per full-run. Also the always ticking consumption of
pfQuest's OnUpdate-function has been reduced from 1 KB/s to 0.02 KB/s.

Changes

map: improve memory usage by shared node data

store and cache metadata that can be shared across
nodes of the same kind, to avoid duplicating data for
each visible pin on the map.

quest: improve memory usage by reusing tables

instead of initializing a new table for each questlog scan,
flip between two always existing ones that get cleaned when
the temporary data becomes obsolete.