Fix #warnings taking exponential time to compute

*sigh*
This should take a couple ms at most, 1s is plenty of overhead.