[squeak-dev] Dictionary use in SmartRefStream

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Dictionary use in SmartRefStream

Stephan Eggermont-3
(also on the Pharo list)
While taking a look at Seaside issue 262, I noticed that
SmartRefStream>>catalogValues: instVarList size: varsOnDisk
creates a Dictionary with the default size,
while having a pretty good idea of how large it should at least be.
Is this called so little that that it doesn't matter?
(it is only called in SmartRefStream>>readInsanceSize:clsname:refPosn:)

Stephan Eggermont