subsequences now use offsets into the shared_ptr seq_string
authorDiane Trout <diane@caltech.edu>
Fri, 8 Sep 2006 22:48:54 +0000 (22:48 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 8 Sep 2006 22:48:54 +0000 (22:48 +0000)
commitb99f9cb5ab110260ec476acf09a564255ecc7b1a
tree7371947d26a8071d690c566b5c679121fe7891cc
parent5c9d65d209349abe161b42a1fb24179eef60c05d
subsequences now use offsets into the shared_ptr seq_string
A subsequence created with the Sequence::subseq call will use
the creating sequences shared_ptr, and then just maintains
a seq_start and seq_count to indicate the start and number of bytes
in the subseq. (Yes this means that sometiems the c_str will let you
read more than you should actually be able to. But try not to depend
on that).
alg/sequence.cpp