Skip to content

perf(memo): avoid fibers for current sequential dependencies - #23

Open
anmonteiro wants to merge 2 commits into
perf/base-current-mainfrom
anmonteiro/perf-memo-restore
Open

perf(memo): avoid fibers for current sequential dependencies#23
anmonteiro wants to merge 2 commits into
perf/base-current-mainfrom
anmonteiro/perf-memo-restore

Conversation

@anmonteiro

@anmonteiro anmonteiro commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Avoid allocating and binding fibers while restoring sequential dependencies that are already current.\n\nOn current ocaml/main, the 1,000-dependency restore benchmark improves from 12.19 us / 22.74k minor words to 5.16 us / 747 words (2.36x faster, 96.7% fewer minor allocations).

@anmonteiro
anmonteiro force-pushed the anmonteiro/perf-memo-restore branch from 3b6a80d to 3899ad0 Compare August 7, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant