Skip to content

Zero alloc: widening#2490

Closed
gretay-js wants to merge 32 commits intooxcaml:mainfrom
gretay-js:zero_alloc_widen
Closed

Zero alloc: widening#2490
gretay-js wants to merge 32 commits intooxcaml:mainfrom
gretay-js:zero_alloc_widen

Conversation

@gretay-js
Copy link
Copy Markdown
Contributor

On top of #2489. Only the last 2 commits are new.

Symbolic summaries in "dnf-like" normal form can sometimes explode. To avoid it, this PR abstract join of more than n elements to Top. The first commit adds a temporary compilation flag -checkmach-join to control n. The second commit actual implements this widening and is currently a bit of a hack to bail out early in the middle of distribute_transform_over_join and other operations that increase the number of elements in a join.

@xclerc
Copy link
Copy Markdown
Contributor

xclerc commented Apr 25, 2024

(If it is not too cumbersome, a couple
of tests using the various settings would
be useful.)

@mshinwell mshinwell added the zero alloc zero-alloc check label May 2, 2024
@gretay-js
Copy link
Copy Markdown
Contributor Author

Included in #2524

@gretay-js gretay-js closed this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend zero alloc zero-alloc check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants