[Color basicNew setHue: (-360 to: 720 by: 0.1) atRandom saturation: (-1 to: 2 by: 0.1) atRandom brightness: (-1 to: 2 by: 0.1) atRandom] benchFor: 180 seconds. "-> '300,000 per second. 3.33 microseconds per run.'" [Color basicNew setHue: (-360 to: 720 by: 0.1) atRandom saturation: (-1 to: 2 by: 0.1) atRandom brightness: (-1 to: 2 by: 0.1) atRandom] benchFor: 180 seconds. "-> '370,000 per second. 2.71 microseconds per run.'"
Seems to be even faster. :o
-- Sent from: http://forum.world.st/Squeak-Dev-f45488.html