Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parallelize ¶
Parallelize divides the specified total number (items) according to the number of CPU cores, and executes the specified function (fn) in parallel for each range (start, end)
func ParallelizeWithThreshold ¶
ParallelizeWithThreshold performs parallelization only when the number of items exceeds the threshold If below threshold, normal sequential processing is performed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.