On Jul 7, 2013, at 1:33 AM, Vincent Habchi wrote:

> Is there any hope in the future to be able to store simple types like int or 
> floats in NSArrays?

Why? What's wrong with a simple array?

(Or, I would argue, though it's not a popular strategy, what's wrong with 
std::vector?)

Now if you really want speed, stop converting from text to floats, convert the 
file to a binary format containing floats before your users have to load it.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to