>>>>> "Thomas" == Thomas Down <[EMAIL PROTECTED]> writes:

[...]

    Thomas> But if you do decide that subLists /shouldn't/ reflect
    Thomas> changes, I'd be slightly concerned about going down the
    Thomas> always-copy route, since subList is a very common
    Thomas> operation in some cases.  A better approach might be
    Thomas> `copy-on-write'.  Have an implementation which starts off
    Thomas> as a view on the parent sequence, but installs a
    Thomas> ChangeListener, and takes a full copy if it receives a
    Thomas> preChange notification?

We have 2 votes here for copy-on-write as we're going to be handling
lots of v. big sequences and potentially lots of subLists of each.

Keith

-- 

-= Keith James - [EMAIL PROTECTED] - http://www.sanger.ac.uk/Users/kdj =-
The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs CB10 1SA
_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to