Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow platforms to use an instance variable to cache objects in WAFileLibrary #313

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 18 comments

Comments

@GoogleCodeExporter
Copy link

On Squeak WAFileLibrary uses mutation of a static array to cache a ByteArray. 
WAFileLibraryTest>>#'testCompileByteArray' requires the objects returned by 
WAFileLibrary to be 
identical. For platforms that do not allow modification of static arrays, this 
means that the value 
must be cached somewhere. Does anyone object to my adding an instance variable 
to 
WAFileLibrary? How about an initialize method that sets it to a 
platform-specific dictionary? 

Absent any objections or better suggestions, I'll try this out tomorrow.  

--James Foster

Original issue reported on code.google.com by Weybridg...@gmail.com on 27 Jan 2009 at 11:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant