• 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: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sun, 06 Jul 2014 18:29:43 +0700

On 6 Jul 2014, at 03:23, Jens Alfke <email@hidden> wrote:

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

I just have.

Objective-C with CFBitVector
The good thing: it uses much less code.
The bad: it is 2.5 times slower than my own messing around with bit arrays, even when using just 1 thread to get a fair comparison.
Allowing for many threads it is about 4 times slower.


Swift with CFBitVector is about 12 times slower than Objective-C with CFBitVector
In this version there are no arrays at all, just one big CFBitVector.


Kind regards,

Gerriet.


 _______________________________________________
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


References: 
 >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: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Why does Swift crash my CFBitVector ?
  • 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