[jbosscache-dev] Critical CacheMarshaller issue
Manik Surtani
manik at jboss.org
Mon Nov 12 09:11:44 EST 2007
On 8 Nov 2007, at 02:37, Brian Stansberry wrote:
> IIRC, this use of references was not an optimization, it was a
> requirement to ensure we retain object identity when we deserialize.
> So I don't think we can drop it for some types.
>
I've implemented this now using variable length ints - uses anything
between 1 and 5 bytes to represent an int. Thanks to genman for this
suggestion.
http://lucene.apache.org/java/docs/fileformats.html#VInt
This does mean a new CacheMarshaller for 2.1.0 though.
Cheers,
--
Manik Surtani
Lead, JBoss Cache
manik at jboss.org
More information about the jbosscache-dev
mailing list