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

Short circuit by square #345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lohaswinner
Copy link

About 20% of execution time will be reduced.

About 20% of execution time will be reduced.
@hanabi1224
Copy link
Owner

It's a non-goal to make every program most optimized, it's top priority to maintain comparability

@lohaswinner
Copy link
Author

lohaswinner commented Jan 6, 2023

It's a non-goal to make every program most optimized, it's top priority to maintain comparability

I can't understand the goal. It's not inconsistent with coro-prime-sieve examples.
In the coro-prime-sieve there are examples that cannot be compared.

This change has only 3 lines changed. So it's not difficult to maintain.
Could you accept PR have changeset for all the language?

@cyrusmsk
Copy link
Contributor

It's a non-goal to make every program most optimized, it's top priority to maintain comparability

I think this is an extra logic - and it need to be added to all languages and implementations.

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.

None yet

3 participants