fixed in 10.1 (windows)
There's something wrong with how Min
and Max
are implemented for TimeObject
:
times = {TimeObject[List[0, 14, 55.99`]], TimeObject[List[0, 14, 57.8`]],
TimeObject[List[0, 14, 59.09`]], TimeObject[List[0, 14, 59.11`]],
TimeObject[List[0, 14, 59.12`]], TimeObject[List[0, 14, 59.14`]],
TimeObject[List[0, 14, 59.4`]], TimeObject[List[0, 14, 59.44`]],
TimeObject[List[0, 14, 59.45`]], TimeObject[List[0, 14, 59.47`]],
TimeObject[List[0, 15, 0.39`]], TimeObject[List[0, 15, 3.27`]],
TimeObject[List[0, 15, 5.44`]], TimeObject[List[0, 15, 8.45`]],
TimeObject[List[0, 15, 9.34`]], TimeObject[List[0, 15, 12.65`]],
TimeObject[List[0, 15, 19.96`]], TimeObject[List[0, 15, 20.82`]]};
based on timing:
Table[k -> (Take[times, k] // Min // Timing // First), {k, 15}]
{1 -> 0.000021, 2 -> 0.000643, 3 -> 0.000955, 4 -> 0.001439, 5 -> 0.002542, 6 -> 0.004146, 7 -> 0.008497, 8 -> 0.019078, 9 -> 0.042076, 10 -> 0.097678, 11 -> 0.227000, 12 -> 0.540869, 13 -> 1.331936, 14 -> 3.248148, 15 -> 8.268877}
Similar numbers for Max
. Have not tested other functions. This is on a 3.2Ghz Mac. Can anyone else replicate?