Documentation
¶
Overview ¶
Package internal contains internal logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeGoroutineOffsets ¶
ComputeGoroutineOffsets computes how many goroutines will handle totalBytes, and their [start, end] offset intervals. First arguments represents the total bytes to be handled. Second argument represents the maximum goroutines that will handle total bytes. Third argument represents the minimum bytes a goroutine should handle. It returns a slice (up to maxGoroutines in length) of [start, end] intervals each goroutine should handle.
Types ¶
Click to show internal directories.
Click to hide internal directories.