frustrations in de-slowifying code.
Alan Grimes
alangrimes at starpower.net
Sat Mar 20 17:37:32 UTC 2004
David T. Lewis wrote:
> He Alan,
>
>I assume you are aware of the TimeProfileBrowser... if not, that should
>absolutely be your next step. See <http://minnow.cc.gatech.edu/squeak/2133>.
>
>
WOW!!
I was simply running each of my methods through " timeToRun: " and
printing to transcript!
I did find something very interesting that I think will be of interest
to the list, in general.
70% of my time was being spent in " BitBlt class >> bitPeekerFormFrom: "
Most of this time, (67% of the 70%) was spent in a constructor method
of Form, " extent: depth:"
If this creation of an auxilary form could be discarded, then it would
also be of great benefit to these other methods:
B3DScanner > textureColor: aTexture atS: sValue atT: tValue
ColorForm > pixelValueAt: aPoint
Form > floodFill2: aColor at: interiorPoint
Form > pixelValueAt: aPoint <<< this is the one I'm using,
indirectly through
"colorAt: "
Pen > print: str withFont: font
StarSqueakMorph > createPatchFormGetterAndSetter
WarpBlt > warpBitsSmoothing: n sourceMap: sourceMap
More information about the Squeak-dev
mailing list
|