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

Add examples parallel_sum and sequential_sum #601

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

Conversation

anacrolix
Copy link

Add the examples from the README. This makes it much easier to get up and running.

Perhaps the README could refer to the examples directly in a later change.

@anacrolix
Copy link
Author

Bump

Copy link
Member

@developedby developedby left a comment

Choose a reason for hiding this comment

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

Sorry we didn't get to your PR earlier, I just forgot about it.

We already have a parallel sum example (it just used to have a bad file name).

For the sequential sum, I'd rather it be part of the parallel sum example, with an explanation of the difference between the two and a suggestion for users to try sswapping between the two functions and seeing the difference.

That way it's more educational and also avoids polluting the examples with trivial things.

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