An instance variables cache


at Synectique, we are using cache for lots of projects and for now we were always using another instance variable or a dictionary to store many. It is complicated to maintain and we are always reinventing the wheel.

That’s why i created a first implementation (very naive but functional, documented and tested) of a cache.

It is available here (with usage explication):!/~GuillaumeLarcheveque/SmallCache

and you can get it by doing:

Metacello new
smalltalkhubUser: ‘GuillaumeLarcheveque’ project: ‘SmallCache’;
configuration: ‘SmallCache’;
version: #development;

Tell me if you are interested in it or if you have ideas about it.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: