Optimize subgames search a little bit (#8096)
authorJozef Behran <jozuejozef@gmail.com>
Fri, 18 Jan 2019 09:47:50 +0000 (04:47 -0500)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 18 Jan 2019 09:47:50 +0000 (10:47 +0100)
commit6e37fdc21d3f78c006d748103b3f9e8feeb0d49f
treefe6677ce76a77c0dcbd17e35c7e279162b1b68d5
parent3fce27ece5629a805a5d6c508f130170c6ccafab
Optimize subgames search a little bit (#8096)

Reserve space for the list of games in findWorldSubgame. The
performance gain is pretty much negligible but this change
also gets rid of a performance warning by CLANG TIDY.
src/content/subgames.cpp