• 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: Is Swift really swift?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is Swift really swift?


  • Subject: Re: Is Swift really swift?
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 05 Jul 2014 13:23:32 -0700


On Jul 5, 2014, at 12:48 PM, Gerriet M. Denkmann <email@hidden> wrote:

Using maskArray took 15 sec. This is 160 times slower than computing directly: 0.09 sec (1.25 slower than Obj-C).

Array bounds checking is killing your performance. I think there’s a compiler option to turn it off.
Or you could look for system library routines for working with bit-vectors, since it sounds like that’s what this is for. Have you tried CFBitVector?

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is Swift really swift?
      • From: "Gerriet M. Denkmann" <email@hidden>
    • Re: Is Swift really swift?
      • From: "Gerriet M. Denkmann" <email@hidden>
    • Re: Is Swift really swift?
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Is Swift really swift? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Is Swift really swift? (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Is Swift really swift?
  • Next by Date: Re: Is Swift really swift?
  • Previous by thread: Re: Is Swift really swift?
  • Next by thread: Re: Is Swift really swift?
  • Index(es):
    • Date
    • Thread