Skip to content

Commit

Permalink
doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Mar 21, 2024
1 parent 191833f commit 1bb2450
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sway-lsp/src/traverse/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub trait Parse {
fn parse(&self, ctx: &ParseContext);
}

/// Determines the threshold a collection must meet to be processed in parallel.
const PARALLEL_THRESHOLD: usize = 8;

/// Iterates over items, choosing parallel or sequential execution based on size.
Expand Down

0 comments on commit 1bb2450

Please sign in to comment.