[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSOutlineView.m
From: |
Richard Frith-Macdonald |
Subject: |
Re: NSOutlineView.m |
Date: |
Mon, 21 Jul 2003 11:44:45 +0100 |
On Monday, July 21, 2003, at 10:10 AM, Andrew Ruder wrote:
Saves a method call. It was creating arrays with
[NSMutableArray array] and then retaining them. Why not
save a method lookup and just do a [NSMutableArray new]?
Thanks
--
Andrew Ruder
<NSOutlineView.m.diff>
Applied.
Some people use this style a lot (creating an autoreleased object and
then
retaining it rather than creating it retained to start with) ... and it
bugs me too.
However, since it's generally only a minor performance issue, I
generally
only change/fix this sort of thing if I'm editing a source file for
some other
reason.
- NSOutlineView.m, Andrew Ruder, 2003/07/21
- Re: NSOutlineView.m,
Richard Frith-Macdonald <=