10.11.2010, 06:40
Quote:
Takes too long to write, seems to be no advantage over just doing it normally
I'll stick to the usual way Maybe practical things, like making forward/publics all in one definition or shortening certain things for faster writing, but this just makes it a lot longer. |
RyDeR, seeing as you've been all picky about performance in your latest posts, I'll go back to the trim function you made.
You're returning the string that you're modifying, which is pointless for the usage of that function.
If you don't return the strings, the function can be executed 55574 times more each second.