Dorado bytecodes per second
Martin Wirblat
sql.mawi at t-link.de
Fri Apr 29 10:28:07 UTC 2005
Andreas Raab wrote:
...
> That is most likely correct. Have a look at the current Compiler and
> ParseNodes which were written in the ugly old days and notice how they
> painfully avoid sending messages, and how they use pools for stuff
> that's considered really bad style today. What has changed since the old
> days is the general attitude - we happily pay the "price" of the extra
> message if it gives us a bit more flexibility, if it makes the code a
> little more easy to read. This simply didn't used to be the case "back
> then" and MVC is one of the areas that is full of "good old code" - I
> bet you a "modern" MVC would not perform any better or worse than Morphic.
>
If sending extra messages makes something x-times slower no one should
pay such a price "happily". Nothing is gained if something is flexible
but hardly anyone - read: roughly one or two orders of magnitude fewer
than potentially possible - uses it because of its slowness.
Regards
Martin
More information about the Squeak-dev
mailing list
|