I'm not that familiar with redimming arrays, so someone let me know if this way of testing is bad.
Result:
Code:
Percentwise, the difference is humongous, but in seconds, not that big of a difference.
>> Code as text
My useful and useless experiments with Lotus Notes / Domino
2009 All Rights Reserved DontPanic - a blog about Lotus Notes / Domino.
Free Blogger Templates by DeluxeTemplates.net • Wordpress designed by Acosmin
1 comments:
The subtraction of 1 from the array index will take up some of your benchmark time. Why not just run it as a zero-based loop and index and avoid the decrement?
Post a Comment