• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 64 bit transition indecisitons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64 bit transition indecisitons


  • Subject: Re: 64 bit transition indecisitons
  • From: Rich Siegel <email@hidden>
  • Date: Sat, 23 Nov 2013 14:09:04 -0500

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


  • Follow-Ups:
    • Re: 64 bit transition indecisitons
      • From: Eyal Redler <email@hidden>
References: 
 >64 bit transition indecisitons (From: Eyal Redler <email@hidden>)

  • Prev by Date: 64 bit transition indecisitons
  • Next by Date: Re: 64 bit transition indecisitons
  • Previous by thread: 64 bit transition indecisitons
  • Next by thread: Re: 64 bit transition indecisitons
  • Index(es):
    • Date
    • Thread