[ENH] SpaceTally-cleanUp-efc

cottonsqueak at earthlink.net cottonsqueak at earthlink.net
Tue Jul 6 04:54:17 UTC 2004


from preamble:

"Change Set:		SpaceTally-cleanUp-efc
Date:			6 July 2004
Author:			Eddie Cottongim

1. Avoid sending #instanceCount twice for each class, achieving a
roughly 50% speedup. see #computeSpaceUsage.

2. Factor out the common code between SpaceTally's #spaceTally and
#systemWideSpaceTally methods.

3. Fix the incorrect example in #systemWideSpaceTally.

The following code:
  Time millisecondsToRun: [st _ SpaceTally new systemWideSpaceTally ]
exibited this performance change:
factored: 95.071 seconds
original: 198.560 seconds
"

!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SpaceTally-cleanUp-efc.cs.gz
Type: application/octet-stream
Size: 1132 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040705/0473afb2/SpaceTally-cleanUp-efc.cs.obj


More information about the Squeak-dev mailing list