Using enums instead of strings speedup?
<p>I have game and I mark the states with names. On each update working with states means, you work with their names, strings. I was wondering if it is worth it to replace the strings with enum values?</p>

<p>Maybe it sounds dumb, but there are a lot of states and each one is processed at least 30 times per second.</p>

<p>Thanks</p>
