Re: 64 bit transition indecisitons
Re: 64 bit transition indecisitons
- Subject: Re: 64 bit transition indecisitons
- From: Eyal Redler <email@hidden>
- Date: Tue, 26 Nov 2013 22:45:30 +0200
Thanks...
Eyal
On Nov 23, 2013, at 9:09 PM, Rich Siegel <email@hidden> wrote:
> On Saturday, November 23, 2013, Eyal Redler <email@hidden>
> wrote:
>
>> First problem is instance variables and structs. Most of my app mem
>> use is many instances of small objects or c arrays of rather small
>> structs. I wouldn't want to inflate my memory use that much but I'm
>> worried about penalties in accessing 32 bit integers inside structs. I
>> also feel really strange using NSUInteger for things for which even a
>> 32 bit integer is too much.
>
> I would say that if time and motivation allows :-), pick an approach, implement it, profile, and adjust. So if you find that NSUInteger works, and the memory usage is within reason, you can stop there. And if it's not, you can pick a smaller data type for your structs, re-test, and see what the performance penalty is, if any, and if necessary decide whether it's memory usage or performance that's more important.
>
> Otherwise you'll drive yourself crazy wondering about the what-ifs and never get anything done. :-)
>
> Good luck,
>
> R.
> --
> Rich Siegel Bare Bones Software, Inc.
> <email@hidden> <http://www.barebones.com/>
>
> Someday I'll look back on all this and laugh... until they sedate me.
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden