Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parallelize ¶
Parallelize は、指定された総数(items)をCPUコア数に応じて分割し、 各範囲(start, end)に対して指定された関数(fn)を並列実行する
func ParallelizeWithThreshold ¶
ParallelizeWithThreshold は、アイテム数が閾値を超えた場合のみ並列化を行う threshold以下の場合は、通常の逐次処理を実行する
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.