prysm-pulse/shared/mputil
Jim McDonald 485fc538c3 Utility to parallelise functions over arrays (#3813)
* Initial version of scatter

* Add mutex for scatter batch

* Provide mutex to worker processes

* Embed mputil

* Add notes on scatter

* Tidy-up

* Add mutex test

* Simplify scatter for users

* Tidy-ups/code coverage

* Gazelle update

* Add benchmark

* Mutex to RWMutex

* Add test against internal functions

* Bazel fixes

* Fix benchmark

* Benchmark values to constants

* Update shared/mputil/scatter.go

Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>

* Update shared/mputil/scatter.go

Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>

* Moved struct to top of file

* Add featureconfig for scatter

* Gate scatter behind feature flag

* Lint fixes

* fmt
2019-11-03 16:25:52 -05:00
..
benchmark_test.go Utility to parallelise functions over arrays (#3813) 2019-11-03 16:25:52 -05:00
BUILD.bazel Utility to parallelise functions over arrays (#3813) 2019-11-03 16:25:52 -05:00
scatter_test.go Utility to parallelise functions over arrays (#3813) 2019-11-03 16:25:52 -05:00
scatter.go Utility to parallelise functions over arrays (#3813) 2019-11-03 16:25:52 -05:00