Skip to content

Commit

Permalink
Correct documentation of multithreaded Prio3 types
Browse files Browse the repository at this point in the history
ParallelSumMultithreaded only accelerates calls to eval_poly(), which is
only used during sharding.
  • Loading branch information
divergentdave committed Oct 31, 2024
1 parent c461d46 commit 6232d10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vdaf/prio3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl Prio3SumVec {
}
}

/// Like [`Prio3SumVec`] except this type uses multithreading to improve sharding and preparation
/// Like [`Prio3SumVec`] except this type uses multithreading to improve sharding
/// time. Note that the improvement is only noticeable for very large input lengths.
#[cfg(feature = "multithreaded")]
#[cfg_attr(docsrs, doc(cfg(feature = "multithreaded")))]
Expand Down Expand Up @@ -254,7 +254,7 @@ impl Prio3Histogram {
}
}

/// Like [`Prio3Histogram`] except this type uses multithreading to improve sharding and preparation
/// Like [`Prio3Histogram`] except this type uses multithreading to improve sharding
/// time. Note that this improvement is only noticeable for very large input lengths.
#[cfg(feature = "multithreaded")]
#[cfg_attr(docsrs, doc(cfg(feature = "multithreaded")))]
Expand Down Expand Up @@ -306,7 +306,7 @@ impl Prio3MultihotCountVec {
}
}

/// Like [`Prio3MultihotCountVec`] except this type uses multithreading to improve sharding and preparation
/// Like [`Prio3MultihotCountVec`] except this type uses multithreading to improve sharding
/// time. Note that this improvement is only noticeable for very large input lengths.
#[cfg(feature = "multithreaded")]
#[cfg_attr(docsrs, doc(cfg(feature = "multithreaded")))]
Expand Down

0 comments on commit 6232d10

Please sign in to comment.