|
From: | Markus Hitter |
Subject: | Re: [bug #13705] possible memory leak in setStringValue |
Date: | Sun, 10 Jul 2005 13:14:15 +0200 |
Am 10.07.2005 um 02:59 schrieb Riccardo mottola:
Follow-up Comment #1, bug #13705 (project gnustep): just as a note using [NSString stringWithFormat: xxx] instead of alloc+init does the same thing and no changes.
Just as another note, they are different. alloc + init avoids using the autorelease pool and thus has a better performance. Not a major thing, of course, but having the habit of using immediately released strings is a habit one should keep.
Markus
[Prev in Thread] | Current Thread | [Next in Thread] |