Re: Mixing Objective C and C++
Re: Mixing Objective C and C++
- Subject: Re: Mixing Objective C and C++
- From: "Ken Thomases" <email@hidden>
- Date: Tue, 15 Oct 2002 22:43:41 -0500
- Priority: normal
On 15 Oct 2002, at 15:52, Todd Heberlein <email@hidden> wrote:
>
I actually prefer C++ STL containers over the Foundation containers. I
>
know, call me weird... I also still like vi.
Not so weird. But anyway, it doesn't have to come down to preference
between STL and Foundation. Each can have its place. A week or two
ago, someone wrote about performance problems using NSArray and
NSNumber in a computation-intensive program.
The list consensus seemed to be for him to use C-style arrays
(possibly wrapped in his own Objective-C class). It seems a shame to
reimplement when he could have just used std::vector or
std::valarray. After all, they were designed for performance. I
supposed I should have spoken up then... Ah, well.
Ken
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.