I don't think the object pointer overhead is very much given it's usually pointing at a full block? Perhaps we can implement a nicer class like Lucene's BytesRef [1]. Then we can have our own class that may wrap a byte[] or ByteBuffer.
1. http://lucene.apache.org/java/3_3_0/api/core/org/apache/lucene/util/BytesRef.html On Fri, Jul 8, 2011 at 5:34 PM, Ryan Rawson <ryano...@gmail.com> wrote: > Where? Everywhere? An array is 24 bytes, bb is 56 bytes. Also the API > is...annoying. > On Jul 8, 2011 4:51 PM, "Jason Rutherglen" <jason.rutherg...@gmail.com> > wrote: >> Is there an open issue for this? How hard will this be? :) >