MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / should_parallelize

Method should_parallelize

atomic-repository/src/parallel_record/mod.rs:337–339  ·  view source on GitHub ↗

Returns `true` if parallel processing should be used for the given file count.

(&self, file_count: usize)

Source from the content-addressed store, hash-verified

335
336 /// Returns `true` if parallel processing should be used for the given file count.
337 pub fn should_parallelize(&self, file_count: usize) -> bool {
338 self.parallel && file_count >= self.parallel_threshold
339 }
340}
341
342impl Default for ParallelRecordOptions {

Callers 1

parallel_record_filesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected