Re: Is Swift really swift?
Re: Is Swift really swift?
- Subject: Re: Is Swift really swift?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 06 Jul 2014 11:32:35 +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:
>
>> 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.
I will try this option when I find it. Are these compiler options documented anywhere?
> 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?
No, I have not.
But I will try it, now that I know of its existence. Thanks very much for this tip!
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