On Wed, Jan 2, 2013 at 2:23 PM,
<mlepage@antimeta.com> wrote:
Thanks that sounds great. In my case, they are all numbers. I expect them all to be GCed after the function is called, but it does seem like having fewer locals to temporarily hold them is a good idea.
It only is when the (minuscule) speedup outweighs the loss in code legibility (e.g., the function is called many, many times per second). Programmer time is much more expensive than CPU time...