Skip to content

Conversation

kripken
Copy link
Member

@kripken kripken commented May 14, 2024

#6587 was incorrect: It checked generativity early in an incremental manner, but
it did not accumulate that information as we do with hashes. As a result we
could end up optimizing something with a generative child, and sadly we lacked
testing for that case.

This adds incremental generativity computation alongside hashes. It also splits
out this check from isRelevant.

Also add a test for nested effects (as opposed to generativity), but that already
worked before this PR (as we compute effects and invalidation as we go, already).

@kripken kripken requested review from aheejin and tlively May 14, 2024 23:57
@kripken kripken merged commit 8a5dc18 into WebAssembly:main May 15, 2024
@kripken kripken deleted the cse.generativty.nested branch May 15, 2024 16:42
@gkdn gkdn mentioned this pull request Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants