channel/internal_stuff.go
milarin 19959a6c01 - efficiency of toMap improved by concurrently calling the mapper function
- ToMapSuccessive introduced which still uses old behavior
2022-12-17 19:50:41 +01:00

13 lines
178 B
Go

package channel
import "runtime"
type mapEntry[K comparable, V any] struct {
Key K
Value V
}
func getDefaultRunner() Runner {
return NewLimitedRunner(runtime.NumCPU())
}