Skip to content

syntax: fix interval set optimizations#1104

Closed
Licheam wants to merge 2 commits into
rust-lang:masterfrom
Licheam:interval_opt_push_fix
Closed

syntax: fix interval set optimizations#1104
Licheam wants to merge 2 commits into
rust-lang:masterfrom
Licheam:interval_opt_push_fix

Conversation

@Licheam

@Licheam Licheam commented Oct 12, 2023

Copy link
Copy Markdown
Contributor

Refractor the push function in #1051.
This fix the bug found in #1103 and #1102 based on commit 6d2b09e.

@BurntSushi

Copy link
Copy Markdown
Member

I think you'll want to rebase on master.

Given the bugs the last optimizations caused, it's clear that the tests covering these operations are insufficient. Since this code is incredibly subtle, I have to insist that we improve our testing strategy before we start overhauling how these ops are implemented.

@Licheam

Licheam commented Oct 12, 2023

Copy link
Copy Markdown
Contributor Author

Indeed, maybe I gotta design some more delicate test cases for those functions.

@Licheam Licheam marked this pull request as draft October 12, 2023 15:30
@BurntSushi

Copy link
Copy Markdown
Member

Closing due to staleness

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