Length of Variable Names and Performance Impacts
Posted on 2007-08-01
Hi, I've wondered this for quite some time, but never really got around to asking...
When we choose a variable's name, is there any type of performance impact depending on the length of that string? For instance, would the variable "i" perform any better in memory than say, something like "str_My_Variable_Name_Which_I_Really_Like_And_Want_To_Use." Clearly this is a gross exaggerations, but it's meant to illustrate my point.
Is there a rule of thumb for the length that a variable name should be kept?