Parallel
Core module for parallel processing functionality
Constants
Class methods
Determines optimal chunk size for adaptive chunking. The computed size is clamped to 1..1000.
Unified empty check for collections Returns {is_empty, estimated_size}
Sets the default context explicitly.
Logs fiber exceptions with context information
Common parallel each implementation This method handles the core logic for both Enumerable and Indexable versions
Lazy parallel each implementation for Enumerable collections This method processes elements without materializing the entire collection Uses lock-free work-stealing approach for better performance
Common parallel map implementation for Enumerable collections using lazy evaluation This method handles the core logic for Enumerable versions without creating intermediate arrays Uses lock-free work-stealing approach for better performance
Common parallel map implementation for Indexable collections This method handles the core logic for Indexable versions using direct index access