On Fri, May 29, 2015 at 9:29 AM, Mark Waddingham <m...@livecode.com> wrote:
> The important thing here (which reinforces me saying 'real world > scenarios' are important) is that if my goal was to optimise the engine to > make simpleArrayTest fast then I could. Indeed, it would be possible to > make it take virtually no time at all since it isn't actually doing > anything - the subtlety of missing out the key step of what the (numeric) > keys are being sorted by completely changes the intent of the code. > There-in lies the danger with synthetic tests. Several years ago (ok, it's really decades), Byte had a standard test suite to compare compilers. Then they hit a compiler that recognized nothing was done with the information, and optimized the entire suite out . . . produced something that executed in 0 . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode