[Seaside-dev] May I add an instance variable (cache) to WAFileLibrary?

James Foster Smalltalk at JGFoster.net
Tue Jan 27 22:08:40 UTC 2009


WAFileLibraryTest>>#'testCompileByteArray' has encoded into the test  
the requirement that the object returned by WAFileLibrary be  
identical. For platforms that do not allow modification of static  
arrays, this means that the value must be cached somewhere. I can  
create a global to hold a dictionary, but that would be difficult to  
manage (at least without weak references). Anyone object to adding an  
instance variable to WAFileLibrary? How about an initialize method  
that sets it to a Dictionary?

James Foster


More information about the seaside-dev mailing list