problem in porting from smalltalk

Louis LaBrunda Lou at Keystone-Software.com
Fri Feb 24 15:38:08 UTC 2006


Hi All,

I am not new to Smalltalk but I am very, very new to Squeak and know
nothing about the compiler and its optimizations, so this suggestion may be
way off base, but here goes, couldn't the optimized code for and: and or:
be enhanced to test to see if the receiver is a boolean and if not pass the
message on the receiver in the non optimized way?  Hopefully this extra
test would not reduced the optimization much.

Lou
-----------------------------------------------------------
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com




More information about the Squeak-dev mailing list