Documentation
¶
Overview ¶
Package parallel provides parallel execution utilities for the Born ML framework.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Enabled bool // Whether parallel execution is enabled.
NumWorkers int // Number of worker goroutines to use.
MinChunkSize int // Minimum items per goroutine to avoid overhead.
}
Config controls parallel execution behavior.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns sensible defaults based on CPU count.
Click to show internal directories.
Click to hide internal directories.