aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32/Poly.cpp
diff options
context:
space:
mode:
authorThierry Crozat2018-07-30 19:18:52 +0100
committerThierry Crozat2018-07-30 19:32:02 +0100
commit53d0fe22d902efa196ae1da03245d56f543c0ae2 (patch)
tree1d30e5c3d658c5b2e55ba7985551cb3c9f516ea2 /audio/softsynth/mt32/Poly.cpp
parentcb6d3b575c02782811fe01f213ca819984c87ab6 (diff)
downloadscummvm-rg350-53d0fe22d902efa196ae1da03245d56f543c0ae2.tar.gz
scummvm-rg350-53d0fe22d902efa196ae1da03245d56f543c0ae2.tar.bz2
scummvm-rg350-53d0fe22d902efa196ae1da03245d56f543c0ae2.zip
COMMON: Fix HashMap never reusing erased items storage
When erasing and inserting many items this caused the hashmap capacity to grow more than it should which resulted in performances issues (and possibly memory issues as well). The issue was reported on IRC today with the wintermute engine.
Diffstat (limited to 'audio/softsynth/mt32/Poly.cpp')
0 files changed, 0 insertions, 0 deletions