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

Paolo Bonzini paolo.bonzini at gmail.com
Wed Jan 28 07:37:31 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?

I wonder if it isn't easier for you to support #[...] syntax in
Gemstone instead? :-)

Paolo


More information about the seaside-dev mailing list