Unstable Squeak - still too unstable
Avi Bryant
avi at beta4.com
Sun Sep 26 10:17:00 UTC 2004
On Sep 26, 2004, at 12:06 PM, stéphane ducasse wrote:
> Hi andreas
>
> Really interesting experiment. We are learning.
> Avi we checked with alex, his byte-code loader is now 10 times faster
> than cs.
Cool. But my guess is that doesn't have that much to do with using
byte code rather than source, since compiling is actually fairly fast -
and you only need to compile the methods that actually change, which is
a very small percentage of the methods MC deals with.
As far as I can tell, the major bottleneck is in parsing the .mcz files
- that was probably responsible for at least 5 minutes of the 9 minutes
Andreas reported. Using a binary format like ReferenceStream or SRP
instead would cut this down a lot. It may be time to move towards
that.
The other thing that takes a lot of time is going back through the
.changes file to find the source for the methods that are in the image,
ie, in Behavior>>sourceCodeAt:. Anyone have suggestions of how to
speed this up? It would be cool if we could enable CompiledMethods to
optionally hang onto the source string they were compiled with...
Avi
More information about the Squeak-dev
mailing list
|