mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
I simply pre-allocated the new dict to the right size. This skips internal copying logic which was repeated on every expansion. This Should increase scope copying as well. I applied the same logic to arrays, but the increase in speed was tiny.
194 B
194 B