[Biococoa-dev] NSMutableData vs malloc

John Timmer jtimmer at bellatlantic.net
Sun Jul 10 18:28:57 EDT 2005


So, if I'm going to start putting things together in terms of unsigned
char's without breaking a lot of stuff, I'm going to have to do a lot at
once, including at least creating the NSData ivar.  I'll try to get started
tonight, and just wanted to clear my plan with everyone:

Change unichar methods in BCSymbol classes to use unsigned char's
Change SymbolSet methods to handle unsigned char's
Add an NSMutableData ivar to BCSequence hold the char array
Modify BCSequence initialization methods to create the char array
Add new methods to BCSequence to start working with the unsigned chars

Since we're going to keep the accessor methods to the Symbol Arrays, most of
the tools should cope nicely, but we might look them over briefly at this
point to try to see if there are obvious optimizations to be made.

Am I missing anything?  Would people want me to commit with breakage in
order to let them fix the mess I'm making?


JT
_______________________________________________
This mind intentionally left blank





More information about the Biococoa-dev mailing list