Optimize IdList::MaximumId() from O(n) to O(1).
This specific implementation seems to have lingered from the days before IdList was stored sorted. This commit has resulted in a ~5% improvement in Generate::DIRTY time for modelisation.slvs on a GCC 6 release build.
This commit is contained in:
parent
ea0a1b743a
commit
c97ba6b928
Loading…
Reference in New Issue
Block a user