On Wed, 26 Mar 2003 10:27:09 +0100 St�phane Corth�sy <[EMAIL PROTECTED]> wrote:
 >| Tracking memory leaks and zombies is not as easy as searching 
 >| alloc/release/autorelease/etc. It's much more complicated than this.

I agree but some times ago, I've found many problems by just grepping alloc and verify 
easch case.

 >| By 
 >| creating some many autoreleased objects you're shooting yourself in the 
 >| foot IMHO. You'll get in troubles when it comes to find zombies...
 >| One of the big problems of EOF is the large number of transient objects 
 >| created during operations: the more autoreleased object you create, the 
 >| slower your application will become, and the harder it is to correct 
 >| zombies.

Yes, you're right on this point. In this case, I haven't seen you don't autorelease 
the object in the same call; sorry :-)


 >| While I don't agree with you on that point, I guess that other gnustep 
 >| people think the way you do, so I'll stop coming again and again on 
 >| that.

Generally, I'm thinking about exception raising between alloc and relase which could 
make objects never deallocated.
But I have no religion about this point :-)

Manuel
--
______________________________________________________________________
Manuel Guesdon - ORANGE CONCEPT <[EMAIL PROTECTED]>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0997  -  Fax: +33 1 4940 0998



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to