counting message invocations.
Yoshiki.Ohshima at acm.org
Fri Mar 26 00:16:27 UTC 2004
> Okay, then here's an enhancement that could have saved me a heck of a
> lot of time:
> Add to form > pixelAt: the comment:
> "If you need to do this many times, make your own instance of BitBlt as
> is done below and use it repeatedly. Look at 'senders of: BitBlt:
> bitPeekerFromForm: "
> Benchmark wise, an implementation of the above wiped the floor with even
> my "FastColorConvert" which implemented a 100% custom implementation
> from the raw BitMap. =P
As I wrote, if what you're doing is some kind of "color convert", a
BitBlt operation with proper color map *may* do it in one call.
> Currently the biggest hog in that part of the program is "rawLuminance"
> a custom addition to Color, which is basically the same as Luminance but
> without the weighting.
A Bitmap table (color map) with 32768 entries may work for your
More information about the Squeak-dev