function for greatest object in list less than or equal to a value

Geoff Canyon gcanyon at gmail.com
Tue Oct 13 11:29:37 EDT 2015


I ran the same code in 7.0.3 and got this:

Run Count: 10

Test ID: 1 Looking for greatest value < 500000000
sort 9.366217 499999338
repeat 1.764816 499999338
PMB 4.268512 499999338

Test ID: 2 Looking for greatest value < 5
sort 8.5548
repeat 1.534175
PMB 1.494919

Test ID: 3 Looking for greatest value < 999999995
sort 9.406507 999998573
repeat 1.842926 999998573
PMB 6.723159 999998573

Disappointing how much slower it is.



More information about the use-livecode mailing list