| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
In essence, my question is: "Whats the most efficient way to dynamically shrink and grow a block of allocated RAM, using the least copy actions possible, while also allowing the area of RAM in shrunk blocks to be reused by other code".
So, right now, I'm using malloc/realloc, which in turn on OSX, is a wrapper to NewPtr and BlockMoveData. This wrapping is done by CodeWarrior's libraries (which of course the source to is included!)
| References: | |
| >Dynamically growable/shrinkable block of RAM? (From: "Theodore H. Smith" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.