Skip to content

Avoid fuzzing with multiple --flatten operations, which causes exponential overhead#2345

Merged
kripken merged 1 commit intomasterfrom
fuzz
Sep 18, 2019
Merged

Avoid fuzzing with multiple --flatten operations, which causes exponential overhead#2345
kripken merged 1 commit intomasterfrom
fuzz

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Sep 18, 2019

No description provided.

@kripken kripken requested a review from tlively September 18, 2019 21:18
Copy link
Copy Markdown
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised that flatten changes flat code, but LGTM.

@kripken
Copy link
Copy Markdown
Member Author

kripken commented Sep 18, 2019

It doesn't really check if code is already flat, it just does the operations to ensure it's flat... it would be complex to improve that, especially for code that was flattened and then slightly changed to be non-flat (which is common in optimizations).

@kripken kripken merged commit 3d7c4cf into master Sep 18, 2019
@kripken kripken deleted the fuzz branch September 18, 2019 22:14
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.

2 participants