[BUG][FIX] Crappy ReferenceStream performance on B3D* types

Joshua 'Schwa' Gargus schwa at cc.gatech.edu
Wed Aug 6 20:37:14 UTC 2003


Hi,

I noticed extremely crappy RefStream performance when using my
streaming in and out B3DRotationArrays in a 3.6 image.  The problem
turned out to be that DataStream>>initialize was not being called
after the B3D package was read in, so there were no entries in the
TypeMap dictionary telling DataStream how to handle the various B3D*
word array types.  As a result, it defaulted to the slow way (about
100x slower).  The B3D package on SqueakMap should probably be updated
to initialize the TypeMap.

Joshua











More information about the Squeak-dev mailing list