incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raffaele P. Guidi" <>
Subject Re: Cache keys
Date Thu, 15 Dec 2011 14:28:40 GMT
Sure it would be a good thing, of course keeping the most frequent use case
as simple as possibile. Also remember that one of the things that allows
DirectMemory to perform well is protostuff - that is an efficient and
unobtrusive way to work around serialization.

Il giorno 15/dic/2011 13:56, "Tommaso Teofili" <>
ha scritto:

> Hi all,
> while working on one of the examples I found myself wondering why keys in
> Cache have to be Strings.
> Generally a cache should also be able to use objects of whatever nature as
> keys, so we could use the same serialization mechanism used for values or,
> at least, define keys to be implementing the
> interface.
> What do you think?
> Tommaso

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message