apsis-rs/crates/foundation
ApsisRS contributors 674de32840 math: add scoped parallelism built on the standard library
The workspace forbids third party crates, and a thread pool is not needed:
every loop in this workspace that benefits from several cores iterates
independent items, which scoped threads express directly. Borrowing the
data removes the need for an Arc, and joining inside the scope means no
result escapes while a thread still writes it.

for_each_index and map_index split a range into one chunk per thread. Both
take a closure that is only called, never mutated, so the caller shares
input and produces output rather than racing on it. threads_for keeps a
short loop on one thread, because starting a thread to do a few
microseconds of work costs more than the work.
2026-09-30 18:35:25 +08:00
..
apsis-core docs: correct the core error claim and record the error strategy 2026-09-26 23:29:25 +08:00
apsis-macros foundation: record the built in macro capabilities 2026-09-26 13:48:53 +08:00
apsis-math math: add scoped parallelism built on the standard library 2026-09-30 18:35:25 +08:00
apsis-units docs: fix the broken intra doc links and check them in CI 2026-09-26 23:37:48 +08:00