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

More workers for faster proofs #11292

Merged
merged 1 commit into from
Jun 16, 2022
Merged

More workers for faster proofs #11292

merged 1 commit into from
Jun 16, 2022

Conversation

mitschabaude
Copy link
Member

Changes the number of workers in the node version of snarkyjs, from 3 (hard-coded) to # of CPU cores - 1

@mitschabaude mitschabaude requested a review from a team as a code owner June 15, 2022 19:42
@mitschabaude mitschabaude added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Jun 15, 2022
@jasongitmail
Copy link
Contributor

love it, but bit of a code smell to mix imports into the code body, no?

@mitschabaude
Copy link
Member Author

mitschabaude commented Jun 15, 2022

love it, but bit of a code smell to mix imports into the code body, no?

I agree! But this is not code where you can apply the normal standards of good JS style. Because it's bundled and transformed by js_of_ocaml which requires some special syntax. Putting it at the top level would require two extra annotations in comments, I think it's not worth it.

@jasongitmail
Copy link
Contributor

Got it. ok 👍

@mitschabaude mitschabaude merged commit ae125ba into develop Jun 16, 2022
@mitschabaude mitschabaude deleted the feature/more-cpus branch June 16, 2022 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants