Re: Cocoa/Objective-C's Relative Performance
Re: Cocoa/Objective-C's Relative Performance
- Subject: Re: Cocoa/Objective-C's Relative Performance
- From: Steven Kramer <email@hidden>
- Date: Thu, 13 Jan 2005 15:19:37 +0100
Op 13-jan-05 om 13:00 heeft Alun ap Rhisiart het volgende geschreven:
Ivan S. Kourtev wrote:
Perhaps I am missing the point and these Cocoa data structures are
only optimal for use with GUI widgets (of which there are never
millions). I am starting to think that for maximum performance (I am
talking about data sets with hundreds of millions of elements) one
would always need a custom non-Cocoa (and not even Objectivee-C
because of the objc_msgsend() overhead) data structures.
Maybe it's time to Think Different? Although you don't often see them
used in commerce, there are libraries designed specifically to deal
with very large data sets, often encountered by scientists in fields
such as earth sciences, meteorology, astronomy and so on. They are not
simply data structures but a library of routines which internally act
on the data structures.
Alan Odgaard has written ObjC wrappers for C++ STL containers (whose
operation complexities are well-specified and whose implementations are
often close to optimal, or at least better than what you or I could
come up with on a short timescale ;-).
http://www.top-house.dk/~aae0030/cocoastl/
Regards,
Steven Kramer
--
email@hidden
http://sprintteam.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden