pepyakin edited PR #3169 from pep-disable-parallel-compilation
to main
.
pepyakin updated PR #3169 from pep-disable-parallel-compilation
to main
.
pepyakin requested peterhuene for a review on PR #3169.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
This is currently intentional in that it takes
fn
instead of a closure because this is doing caching internally and trying to guarantee that the closure doesn't close over anything that isn't hashed and computed for caching. Is it possible to use the function-based version of this?
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Could this argument be baked into the
Compiler
itself rather than passed as a parameter? I also think it's fine for it to be an unconditional parameter to avoid the#[cfg]
on usage
alexcrichton created PR review comment:
I think this macro be be out-living its usefulness as at this point it's branching into somewhat more obscure syntax.
I think our parallel operations are basically all
map
/collect
so perhaps a new method could be exposed onCompiler
which does that operation "take this list and run this closure and return the results" where the one method has internal#[cfg]
and such for rayon vs not?
pepyakin updated PR #3169 from pep-disable-parallel-compilation
to main
.
alexcrichton closed without merge PR #3169.
pepyakin reopened PR #3169 from pep-disable-parallel-compilation
to main
.
pepyakin updated PR #3169 from pep-disable-parallel-compilation
to main
.
pepyakin updated PR #3169 from pep-disable-parallel-compilation
to main
.
abrown updated PR #3169 from pep-disable-parallel-compilation
to main
.
alexcrichton submitted PR review.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
I think this no longer needs the
#[cfg]
?
pepyakin updated PR #3169 from pep-disable-parallel-compilation
to main
.
pepyakin updated PR #3169 from pep-disable-parallel-compilation
to main
.
alexcrichton submitted PR review.
alexcrichton merged PR #3169.
Last updated: Nov 22 2024 at 17:03 UTC