Skip to content

Conversation

Pzixel
Copy link

@Pzixel Pzixel commented Oct 20, 2025

Closes #999

It just adds feature gate everywhere and showcases one example how some string usages can be replaced with arrayvec. It's a bit unfortunate in a sense that sequences with N > 10**17 elements will have a slightly worse error message, but otherwise it remove an allocation in here for free and works in no_std no alloc scenarios.

The subsequent PRs can be used to remove alloc requirements for the code (e.g. mod utils doesn't seem to need that many allocs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[Feature] Move alloc feature behind a feature gate

1 participant