in reply to Is there any Performance difference between 'Create new object' vs 'reset value and reuse object'?
Is this to address a real measured performance issue, or something you've been pondering as a abstract thought exercise?
For almost all practical code the performance difference is likely to be tiny compared to the rest of the work performed by the code. The biggest win is writing the code to be easily maintained in the first instance and worrying about run time performance when it becomes an issue.
|
|---|