Split a range into chunks, processing each chunk in parallel. Returns a dynamic array containing the result of calling fun on each chunk. fun is called at most once per CPU core.
Split a range into chunks, processing each chunk in parallel. Returns a dynamic array containing the result of calling fun on each chunk. fun is called at most once per CPU core.
Parallel map. Like TaskPool.amap, but uses functors for predicates instead of alias arguments, and as such does not have the multiple-context problem. https://forum.dlang.org/post/qnigarkuxxnqwdernhzv@forum.dlang.org
Compare two arrays for equality, in parallel.
Sort r using all CPU cores.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
ae.utils.parallelism