• 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: Swift 2 throws from init()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift 2 throws from init()


  • Subject: Re: Swift 2 throws from init()
  • From: Rick Mann <email@hidden>
  • Date: Wed, 01 Jul 2015 18:17:07 -0700

> On Jul 1, 2015, at 18:15 , Greg Parker <email@hidden> wrote:
>
> An implicitly-unwrapped optional works as if every access were force-unwrapped. I don't know how well the optimizer can fold redundant nil checks together; it's likely that there are cases that would be a little bit faster when written by hand with a single unwrap.

Sounds like something to leave to Instrumentation later when things aren't as fast as I would like.

--
Rick Mann
email@hidden



_______________________________________________

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


References: 
 >Swift 2 throws from init() (From: Rick Mann <email@hidden>)
 >Re: Swift 2 throws from init() (From: Greg Parker <email@hidden>)
 >Re: Swift 2 throws from init() (From: Rick Mann <email@hidden>)
 >Re: Swift 2 throws from init() (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Swift and parameter names
  • Next by Date: Re: Swift and parameter names
  • Previous by thread: Re: Swift 2 throws from init()
  • Next by thread: Re: Swift 2 throws from init()
  • Index(es):
    • Date
    • Thread