hi all, expressions based on constants are remembered/cached for next evalations? If I compile:
Foo>>wakeUpTime ^ '6:30 am' asTime
I can see that bytecode still send #asTime to the string '6:30 am'. It means that each time the piece of code will be evaluated the string will be parsed too, even if it is clear that it will never produce a different object.
Same thing for CodeBlocks. In: [ :t | t < '06:30' asTime ] the right argument of #> will never change... and I feel I'll spend a lot of time on evaluating the same constant expressions during the execution of my program...
thanks Paolo