• 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: Static data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static data?


  • Subject: Re: Static data?
  • From: Pavol Markovic <email@hidden>
  • Date: Sat, 3 Jul 2004 08:59:47 +0200

I think the problem is that static data is being made a part of Mach-O binary. If you have for example 100MB static data, your binary will be incremented by 100MB. Better to use dynamic allocation in such cases.

PM

On 1.7.2004, at 15:42, Christopher Beck wrote:

I am having trouble getting some C++ code to compile and build with
Xcode. It seems to be an issue with the large amount of static data
that I need for the code. For the code, I need 50,000 objects and each
object has about 120 pieces of data associated with it. If I reduce the
number of objects to 35,000, the code compiles and builds fine. The
weird thing is that I can get the code to compile with gcc on cygwin
without a problem. Any suggestions would be appreciated.


Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Static data?
      • From: Markus Hitter <email@hidden>
References: 
 >Static data? (From: "Christopher Beck" <email@hidden>)

  • Prev by Date: Re: xcode 1.5 seed list?
  • Next by Date: Re: Static data?
  • Previous by thread: Re: Static data?
  • Next by thread: Re: Static data?
  • Index(es):
    • Date
    • Thread