Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make some kind of guarding for advancing #24

Open
AaronKutch opened this issue Feb 24, 2024 · 0 comments
Open

Make some kind of guarding for advancing #24

AaronKutch opened this issue Feb 24, 2024 · 0 comments

Comments

@AaronKutch
Copy link
Owner

AaronKutch commented Feb 24, 2024

There are some pretty horrendous sporadic bugs that can happen with the interaction between removal and insertion with chain advancing. It is easy to forget the caution on the advancer functions. We need some way to guard against this problem, perhaps by making advancer() take the arena by value and have a zero cost wrapper returned that forwards every thing except the affected functions, then the arena can be converted back to its normal type. Has the drawback of a lot of code churn and making the advancer loop setup less ideal. We also need to handle references to arenas.

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

No branches or pull requests

1 participant