We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is stated:
When performance is a concern, better to use nil as a default value.
nil
There is no proof presented that not executing a nil closure is faster than executing an empty closure.
If such proof does not exist, a better statement might be:
If parts of the function may be skipped when closures are not provided then it is better to use nil as a default value.
The text was updated successfully, but these errors were encountered:
To be clear, are you still accepting contributions to this project?? If so would a PR that fixes this be in scope to be merged?
Sorry, something went wrong.
No branches or pull requests
It is stated:
There is no proof presented that not executing a nil closure is faster than executing an empty closure.
If such proof does not exist, a better statement might be:
The text was updated successfully, but these errors were encountered: