T
tele
Hi,
i need to memorize in a Cache some object that i identify through a
attribute my_id.
base on some event i update the attributes of the objects in the cache
and when the processing is done i can remove the object from cache.
I found some solution:
The memoizable library that can serialize/deserialize object in memory
or in a file.
then the Weakrefs of ruby stdlib, in particular i've found this link:
http://eigenclass.org/hiki.rb?weakhash+and+weakref
For performance reasons and whatever what do you advise me to do?
examples,solutions, useful link?
thank you
:tele
i need to memorize in a Cache some object that i identify through a
attribute my_id.
base on some event i update the attributes of the objects in the cache
and when the processing is done i can remove the object from cache.
I found some solution:
The memoizable library that can serialize/deserialize object in memory
or in a file.
then the Weakrefs of ruby stdlib, in particular i've found this link:
http://eigenclass.org/hiki.rb?weakhash+and+weakref
For performance reasons and whatever what do you advise me to do?
examples,solutions, useful link?
thank you
:tele