-
Notifications
You must be signed in to change notification settings - Fork 176
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 ListFormatter allocation datagen test not allocate #2738
Comments
So it looks like to avoid the BTreeMap we just need to disable the It says:
I think we should disable the |
We already deactivate |
Hmm, interesting. If it's an issue we could probably just submit an upstream PR splitting this out into a different feature we can disable. |
Upstream will likely tell us to fix our features. It would be good to find a way to run the zero-copy test without the datagen feature enabled. |
We can at least ask, I guess. |
It seems that ListFormatter invokes a nontrivial validation of the regex-automata bytes that involves memory allocations and a BTreeMap. We should find a way to avoid this, either by validating with no allocations or by performing GIGO. This may involve patching the regex-automata crate.
The text was updated successfully, but these errors were encountered: