Discover Packages
github.com/anthonynsimon/bild
parallel
package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Jul 2, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 66
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package parallel provides helper functions for the dispatching of parallel jobs.
func Line(length int , fn func(start, end int ))
Line dispatches a parameter fn into multiple goroutines by splitting the parameter length
by the number of available CPUs and assigning the length parts into each fn.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.