On Aug 20, 2014, at 8:32 PM, Gerriet M. Denkmann <[email protected]> wrote:

> But I thought that maybe memmove might be more efficient:

Optimizing already?

> 
> let dest : UnsafeMutablePointer<Void> =  arr + lowerIndex + 1

arr + lowerIndex + 1 is meaningless to Swift.  An [Int32] is not a
pointer that can be offset by some number of elements. I don't think
C thinking helps when trying to understand this language.



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to