On Tue, 2 May 2000, Stephen Pair wrote:
[gah, I'm behind]
> One nice enhancement for SSP would be to make a way to store the precompiled
> SSP methods on disk for on-demand loading. That could reduce the amount of
> string literals needed in memory. Maybe some of the ImageSegment stuff
> could help. Something similar to a sources file could be created for
> compiled methods.
Have you tried using Mark's FileDictionary? That let's you store arbitrary
objects to disk and get at them through the normal #at:/#at:put: methods.
http://guzdial.cc.gatech.edu/st/FileDictionary.st
http://guzdial.cc.gatech.edu/st/SmartFileDictionary.st
I forget the difference. I know it relates to which refence stream they
use and that SmartFileDictioanry uses progress bars which, I've found, one
should turn off for speed.
It's been a while since I used them, but as I recall they have reasonably
constant access. Large objects, obviously, take longer, so it's worth
testing.
And then there's minnestore, which I've never got fully working.
Cheers,
Bijan.