09-01-2013, 11:52 PM
(09-01-2013, 10:00 PM)TheShyGuy Wrote: Heh lol. I was using strings as an identifier a while back and didn't think it was that big of a deal.....At one point during development, I noticed the game lagging for no good reason and tons of memory being created.. After a bit of searching, I found that the issue was well the use of strings to identify some objects =/.
While it can be no big deal in small cases, it can quickly get out of control. I learned if I NEED an identifier string I can just point to it with a numeric index or something. I did something similar when I messed around with a letter sequence generator.