Skip to content

Remove unused var from fannkuch #123

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

Merged
merged 1 commit into from
Apr 19, 2022
Merged

Conversation

carljm
Copy link
Member

@carljm carljm commented Jan 11, 2022

Not sure what the philosophy on changes to the benchmarks themselves is in this repo; the theory of this PR is that the benchmarks are intended to be reasonable representations of the most efficient way to accomplish a given (admittedly meaningless) task in Python with the correct result, and it doesn't make sense to have pure wasted work in the benchmarks.

This check var is initialized and incremented, but never used, and plays no role in returning the correct result.

Not sure what the philosophy on changes to the benchmarks themselves is in this repo; the theory of this PR is that the benchmarks are intended to be reasonable representations of the most efficient way to accomplish a given (admittedly meaningless task) in Python with the correct result, and it doesn't make sense to have pure wasted work in the benchmarks.

This `check` var is initialized and incremented, but never used, and plays no role in returning the correct result.
Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@ericsnowcurrently ericsnowcurrently merged commit 79d16d8 into python:main Apr 19, 2022
@ericsnowcurrently
Copy link
Member

Thanks, @carljm.

@carljm carljm deleted the patch-1 branch February 15, 2023 16:54
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