Sorting oddity - feature or ??

Bob Arning arning at charm.net
Wed May 1 15:25:17 UTC 2002


Hi all,

Is the following a known and accepted feature of our sorting algorithm?

[((1 to: 10000) collect: [ :x | x]) asSortedCollection] timeToRun ==> 98

[((1 to: 10000) collect: [ :x | 3]) asSortedCollection] timeToRun ==> 20826

Cheers,
Bob



More information about the Squeak-dev mailing list