Quote:
Originally Posted by Jon
Okay. What if you have a function that is called pretty often which checks a string, but this is the only place that string is checked?
|
In plugins by VEN, I have seen him make a static const variable of a string that is used in a situation like that.
I don't know the reasoning behind it, but I'm sure if he did it, it had to be for a good reason.
__________________