• 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
Memory-mapped sub-data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory-mapped sub-data?


  • Subject: Memory-mapped sub-data?
  • From: Daryle Walker <email@hidden>
  • Date: Sun, 26 Feb 2017 17:34:40 -0500

If I take a "subdata" of a memory-mapped (NS)Data, does it stay mapped (i.e. use a range and reference)? Or does a full copy get made? I'm thinking of making a parser be a sub-parser too, and this would make the difference between scanning the next megabyte or the rest-of-file (even if it's gigabytes).

Sent from my iPhone
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Memory-mapped sub-data?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: KVC Validation w/ custom Formatter not working
  • Next by Date: Re: Need replacement of Component Manager::OpenDefaultComponent
  • Previous by thread: Re: KVC Validation w/ custom Formatter not working
  • Next by thread: Re: Memory-mapped sub-data?
  • Index(es):
    • Date
    • Thread