This is code that I used in my talk at Playgrounds in February 2017. The full video and transcript for this talk can be viewed on the Skilled.io website.
It reuses code from one of my blog articles, "Random number generators in Swift", broken down into a series of steps, investigating how to get from a "naive" C-to-Swift conversion to a version that has equal (or better) performance.
To use this project, open the xcodeproj file and run the Tests.
For my talk, I ran all tests on a Mac Pro 5,1 @ 2.66Ghz; other devices will get different performance results.