• 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: Need advice about [NSInputStream read:maxLength:] performance.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need advice about [NSInputStream read:maxLength:] performance.


  • Subject: Re: Need advice about [NSInputStream read:maxLength:] performance.
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Fri, 11 Sep 2015 08:29:31 +0100

On 11 Sep 2015, at 02:12, Adam Kaplan <email@hidden> wrote:

> It’s amazing how many times we solve this same problem over-and-over. It’s so difficult because every case is slightly nuanced :(

Indeed.  Some folks are even working in different languages.

<https://forums.developer.apple.com/thread/16414>

My take on this is that, as a networking geek, it's very easy to go down the performance rabbit hole here (where you'll find Robert Monaghan, apparently :-).  Most of the folks struggling with this issue are dealing with trivial amounts of data, which is why I almost always push them towards the simplest possible NSMutableData solution.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Need advice about [NSInputStream read:maxLength:] performance. (From: Motti Shneor <email@hidden>)
 >Re: Need advice about [NSInputStream read:maxLength:] performance. (From: Jens Alfke <email@hidden>)
 >Re: Need advice about [NSInputStream read:maxLength:] performance. (From: Adam Kaplan <email@hidden>)

  • Prev by Date: Re: Need advice about [NSInputStream read:maxLength:] performance.
  • Next by Date: Re: backgrounding a udp socket
  • Previous by thread: Re: Need advice about [NSInputStream read:maxLength:] performance.
  • Next by thread: Re: Need advice about [NSInputStream read:maxLength:] performance.
  • Index(es):
    • Date
    • Thread