Anybody can give a convincing answer for the question above?
Does it drag a bit if I create an object inside a while loop and call its methods. Will it be a better approach to create the object outside this loop and to reset its properties(values) each time? It seems a very general question but I searched and did not get any answer.
Thank you very much.
In reply to Is there any Performance difference between 'Create new object' vs 'reset value and reuse object'? by khandielas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |