|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Sep 22, 2009, at 5:42 PM, Greg Parker wrote:You are thinking relocatable binary files, I believe. Think "linked
lists" and "structs with pointers to other structs", instead -- that is
what is in this big memory-mapped block.
> The traditional way to pic-ify such data structures is to store > relative offsets instead of absolute pointers.
Notable performance hit and serious addition of complexity: Replace *foo by *(something->getBaseAddress() + fooOffset) in about a zillion places.
-- Greg Parker email@hidden Runtime Wrangler
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| Home | Archives | 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 © 2011 Apple Inc. All rights reserved.