def costs

bend-lint-rules@0.2.0.0 · performance/missed_fork.bend:183

import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedFork
import Base

183def costs() -> String:
184  "Bend runs calls in parallel only as the values of a parallel let. CPU, and GPU under a `!`: measured 2.5x faster for a few calls over a 1M-leaf tree, but 3.9x slower for 100,000 calls over 1k-leaf trees, and 230x slower for a small tree walked once per data point. JS: one thread, so no gain. Confidence: low, as it depends on how much work each call does."

Uses (1)

Used by (2)