Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Swift's own wrapping arithmetics #9

Merged
merged 1 commit into from
May 22, 2018

Conversation

nzhuk
Copy link
Contributor

@nzhuk nzhuk commented May 18, 2018

Swift compiler takes 2-3 seconds to type check this function.

By using Swift's own wrapping arithmetics operators, we can make this code more readable and faster to compile.

Swift compiler takes 2-3 seconds to type check this function.

By using Swift's own wrapping arithmetics operators, we can make this code more readable and faster to compile.
@onmyway133
Copy link
Owner

@nzhuk Hi, interesting. I will check it soon

@onmyway133 onmyway133 merged commit 7a86a16 into onmyway133:master May 22, 2018
@onmyway133
Copy link
Owner

@nzhuk Works like a charm. All tests passed. Thanks a lot for the PR 🚀

@nzhuk
Copy link
Contributor Author

nzhuk commented May 22, 2018

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants