Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): bind captured arguments without closures

    Add Fiber.bind_apply to thread a separately stored argument into a bind continuation. Use it for dependency restoration and recomputation so Memo can hoist the callbacks instead of capturing the dependency node in closures. Preserve dependency recording, cycle propagation, and cached-error stack extension.

    Rudi Grinberg (@rgrinberg)
  2. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): defer dependency execution without closures

    Pass dependency nodes separately to a shared execution function instead of capturing them in thunks. Keep current-run checks deferred until Fiber execution.

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): dispatch immediate Fiber callback results directly

    Handle Return_t directly after applying a Fiber callback instead of entering the general fiber-node dispatcher. Preserve exception handling, continuation order, and all non-immediate node behavior.

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): execute Fiber apply continuations directly

    Apply two-argument Fiber callbacks directly in the Apply continuation branch instead of crossing its single-use helper. Preserve callback exception capture and general fiber dispatch without adding an immediate-result check.

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): execute Fiber bind continuations directly

    Apply Bind and successful Bind_result callbacks directly in the continuation dispatcher, including the immediate-result fast path. Preserve callback exception capture, result-error propagation, and continuation order.

    Rudi Grinberg (@rgrinberg)
  6. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): execute Fiber map continuations directly

    Apply pure map callbacks directly in the continuation dispatcher instead

    Rudi Grinberg (@rgrinberg)
  7. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): inline Fiber map construction

    Inline the small map-constructor fusion dispatch at Memo call sites, retaining the existing Map/Map2/Map3 representation and callback order.

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): inline dependency collector updates

    Inline the collector-state dispatch into successful dependency recording while retaining the same top-level function for Fiber callbacks. Preserve inactive, disabled-metrics, and active collector behavior.

    Rudi Grinberg (@rgrinberg)
  9. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): inline successful dependency recording

    Inline the single-call-site wrapper that constructs the Fiber variable operation for a successful dependency result. Preserve collector lookup, dependency order, and returned values.

    Rudi Grinberg (@rgrinberg)
  10. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): look up dependency nodes without callbacks

    Use an explicit store lookup and create/set only on misses so hot Memo table hits do not allocate a capturing find-or-add callback.

    Rudi Grinberg (@rgrinberg)
  11. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): pre-size large stores

    Rudi Grinberg (@rgrinberg)
  12. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): represent collector states without options

    Use distinct inactive and disabled collector sentinels so Fiber variables carry collectors directly. Avoid allocating and matching option wrappers while preserving disabled edge metrics, parallel collection, and the absence of dependency recording outside computations.

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): return successful dependencies directly

    Combine dependency recording with returning successful node values and handle cached errors separately. Avoid intermediate Fiber bind and return allocations while preserving error stack extension.

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): skip dependency storage for batch builds

    Batch builds currently allocate and retain Memo dependency graphs even though they do not restore cached nodes in a later build run.

    Rudi Grinberg (@rgrinberg)
  15. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): specialize empty dependency restoration

    Return Unchanged directly when restoring a cached reproducible value with no dependencies, avoiding entry into the general series-parallel dependency walker.

    Rudi Grinberg (@rgrinberg)
  16. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): specialize trivial parallel combinators

    Return directly for empty and singleton parallel maps, iterations, and all-combinators. Such inputs have no parallel sections to collect and do not need to inspect fiber-local dependency state.

    Rudi Grinberg (@rgrinberg)
  17. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): store call stacks directly

    Rudi Grinberg (@rgrinberg)
  18. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(memo): thread dependency results without pairs

    Add a two-argument Fiber variable map operation so successful dependency recording can pass the node and cached value separately. This removes the transient pair while preserving variable lookup, dependency order, and continuation error handling.

    Rudi Grinberg (@rgrinberg)
  19. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(ordering): inline integer conversion

    Low-level comparators frequently convert an integer comparison result to Ordering.t. Keeping the small conversion out of line adds avoidable calls in these paths.

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(rules): build expanded command arguments directly

    Rudi Grinberg (@rgrinberg)