[DISCUSSION] Is Squeak/Smalltalk able to do this?
dclapp at qwest.net
Sat Feb 8 03:59:43 UTC 2003
Given that Squeak is "reflective," would it be possible
to write code such that...
-- the system was "watched" as it was exercised, and...
-- attention was paid to which "cases" (ifTrue/ifFalse)
were triggered more often, and...
-- the methods were then re-written to have the "most
likely (often)"if" be placed first in the method, to speed
up the execution of "most often done things"?
Obviously, this idea could be taken much further...
More information about the Squeak-dev