An instance variables cache

Hi,

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):
http://smalltalkhub.com/#!/~GuillaumeLarcheveque/SmallCache

and you can get it by doing:

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

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

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: