On 24 Jan 2005, at 09:17, [EMAIL PROTECTED] wrote:

BioJava uses (or at least can use) the PackedSymbolList for large
sequences. It uses an array of longs to represent the packed bits.

There may be some advantage to using a ByteBuffer, hard to know.

The main reason I was thinking for using MappedByteBuffer is that if you're accessing a large amount of sequence it won't necessarily all get loaded into memory at once. This could, for example, make random access to a multi-gigabase sequence database bearable on a basic desktop computer. Just a thought, not sure how much demand there is for this.


           Thomas.

_______________________________________________
Biojava-l mailing list  -  Biojava-l@biojava.org
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to