[swift-users] UnsafeMutablePointer on the stack?

Quinn "The Eskimo!" eskimo1 at apple.com
Mon Oct 3 02:46:05 CDT 2016


On 3 Oct 2016, at 01:14, Mike Ferenduros via swift-users <swift-users at swift.org> wrote:

> Personally I would be surprised if the malloc caused an actual measurable performance hit tbh.

Quite.  SecRandom generates cryptographically sound random numbers and thus is not optimised for speed.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware




More information about the swift-users mailing list