Originally Posted by robin193
thanks for the fast reply,
so if I understand you correctly, on the prototype way the program is faster because the program has to execute the method once.
I don't believe he said faster. The function will probably execute at a similar speed each time it is called.
What would be gained is the memory necessary for 99 extra versions of the method that performs the same task.