[Biococoa-dev] Caching the NSArray of BCSymbol

John Timmer jtimmer at bellatlantic.net
Wed Jul 6 08:25:51 EDT 2005

> I'm wondering to what extend we really need to cache the array of symbols, in
> fact when does one really need that array at all? Only if you ask a single
> position you get the symbol, in all other instances you don't want an array of
> symbols right, you want a BCSequence. So a subsequence -> a bcsequence is
> returned (again containing the char[]), the reverse of a BCSequence -> a
> bcsequence is returned etc... Want to display a sequence in a view -> the
> stringrepresentation of the bcsequence object is given. When would you like an
> array of symbols?
> Alex
The symbols are the things that actually convey information.  Say you want
to generate all the information and statistics about a sequence (complement,
reverse complement, MW, melting point, etc.) for display.  Without a cached
version, the sequence array would have to be recreated from data several
times ­ doing so would probably be the single largest time cost before the
info could be displayed.


This mind intentionally left blank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/biococoa-dev/attachments/20050706/500bceff/attachment.html>

More information about the Biococoa-dev mailing list