[Biococoa-dev] compiler warning

Alexander Griekspoor mek at mekentosj.com
Sat Dec 4 04:06:31 EST 2004


>> - Why do you use autorelease and not release it directly right after 
>> you add it to the dictionary, you know you want to loose it anyway, 
>> so why don't do it directly.
>
> which autorelease are you referring to?

The kinds like this example from readClustal:

		[sequenceDictionary setObject: newSequence forKey: name];
		[newSequence autorelease];

The newSequence can be released immediately..
A.

*********************************************************
                     ** Alexander Griekspoor **
*********************************************************
               The Netherlands Cancer Institute
               Department of Tumorbiology (H4)
          Plesmanlaan 121, 1066 CX, Amsterdam
                   Tel:  + 31 20 - 512 2023
                   Fax:  + 31 20 - 512 2029
                   AIM: mekentosj at mac.com
                   E-mail: a.griekspoor at nki.nl
               Web: http://www.mekentosj.com

                             iRNAi, do you?
              http://www.mekentosj.com/irnai

*********************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1156 bytes
Desc: not available
URL: <http://www.bioinformatics.org/pipermail/biococoa-dev/attachments/20041204/cfbaebd2/attachment.bin>


More information about the Biococoa-dev mailing list