Commit graph

10 commits

Author SHA1 Message Date
4e33da98aa Fix some exception handling issues 2025-03-08 09:39:27 +00:00
ed4113af51 Simplify and extend using the knots exception with stack 2025-02-27 13:22:36 +00:00
99245034ea Allow passing custom channels to fiberize
This allows customising the behevaiour, for example by using a queue.
2025-02-19 12:46:51 +00:00
025449ea0d Remove the fiberize show-backtrace? option
This is no longer relevant now that the stack is added to the compound
exception.
2025-02-07 10:43:24 +00:00
b0d8618705 Fix exception handling for fibers-batch-map 2025-02-06 17:02:54 +00:00
893299ba24 Start trying to improve exceptions and backtraces
When using knots utilities.
2025-02-03 15:44:51 +00:00
59c183b13f Add fiberize
Not sure about the name yet, but this is useful.
2025-01-08 15:57:15 +00:00
4e791aff68 Fix a bug in fibers-batch-map (and related procedures)
And add more tests.
2024-12-27 22:14:51 +00:00
dc2fe732ea Make the parallel operations more continuous
Instead of batching the list items, change the batch size to a
parallelism limit and run up to that many fibers. When the processing
of one list item finishes, another will then start immediately after,
rather than when the whole batch is finished.

These changes also make the fibers-map and fibers-for-each operations
work with vectors as well as lists.
2024-12-22 12:24:49 +00:00
2f39c58d6c Initial commit 2024-12-16 09:18:12 +00:00