[Biococoa-dev] BCSequenceFactory

Koen van der Drift kvddrift at earthlink.net
Thu Dec 2 17:35:14 EST 2004


On Dec 2, 2004, at 2:58 PM, John Timmer wrote:

>  When I did code profiling, the number of ObjC runtime calls went 
> down, without a corresponding increase in CoreFoundation.  My 
> assumption is that this would lower the total time a bit, but I’ve not 
> gone back and confirmed that.  This looks like a great chance to test 
> that, because I agree that the readability of the later is much 
> better.
>

We can always make a oneliner:

aSymbol = [theSequence symbolAtIndex: loopCounter];

that calls a convenience method:


(BCSymbol *)CFArrayGetValueAtIndex( (CFArrayRef) theContents, 
loopCounter)


I guess this can go into BCSequence.


- Koen.



More information about the Biococoa-dev mailing list