Skip to content

Conversation

@dmtrKovalenko
Copy link
Contributor

The API in the latest version changed which requires cloning config because it takes the owned version which makes no sense. Let's just use borrowing and avoid unnecessay cloning.

The other questoin about the string for delimiters: does the API need it to be a string? Should it be configurable at compile time. E.g. to take the const N: usize generic and have the stored as [char; N]? Or it is also possible to use SmallVec to make this struct stack allocated again

@saghen saghen merged commit b7f2b5f into saghen:main Sep 2, 2025
2 checks passed
@saghen
Copy link
Owner

saghen commented Sep 2, 2025

Thanks, and the delimiter string is currently unused. I don't think keeping it on the stack will be that crucial to performance but time will tell

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