Skip to content

Instantly share code, notes, and snippets.

@AvdLee
Last active October 9, 2018 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AvdLee/444b6b4bf8fc0bbd8e968b797478789d to your computer and use it in GitHub Desktop.
Save AvdLee/444b6b4bf8fc0bbd8e968b797478789d to your computer and use it in GitHub Desktop.
Performance in Swift for my blogpost https://medium.com/@ajvanderlee/6377b8c135b9
Type of code Xcode Unit Test Playground Terminal
For loop if 0.026 26.052 0.030
Filter forEach 0.043 2.116 0.047
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment