[Newbies] sub-optimal optimizations

paolo.bernardi.67 at gmail.com paolo.bernardi.67 at gmail.com
Tue Nov 26 18:46:17 UTC 2013

ok: 1+1 can be optimized,
but all objects in the universe that are not numbers are different.

Nicolas: what should respond:
^'6:30am' asTime class allInstances size
in the scenario of my crazy-optimization?

I guess: tons of Time's,
including the freezed one (6:30).

But the freezed-6:30 is always the same?
Yes, otherwise it means #asTime is always-evaluated.

...not too far from
pre-calculating all cos and sin values of 360 degrees
and storing in two arrays of 360 elements.

Anyway I see it's a bad way...

More information about the Beginners mailing list