[Biococoa-dev] NSMutableData vs malloc

Koen van der Drift kvddrift at earthlink.net
Wed Jul 6 17:54:12 EDT 2005

On Jul 6, 2005, at 3:15 PM, John Timmer wrote:

> I'm all for NSData, since I know how to use that ;).  Next question - 
> we're
> already using unichar's, which are 2 bytes - is that what we intend to 
> stuff
> in the data, or should we think of recasting to unsigned chars?  The 
> second
> would probably greatly increase the efficiency of the code and make a 
> lot
> more C code available to us, but we'd need to revamp a bunch of the 
> classes.

My preference would be to use the (unsigned) chars.

- Koen.

More information about the Biococoa-dev mailing list