-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestup for grapsfeel free to make a pull request ;)feel free to make a pull request ;)
Description
Description
It would be nice if I'd be able to parse a single line. The function signature might look like:
// without options
YourType ParseData(ReadOnlySpan<char> line);
// with options
YourType ParseData(ReadOnlySpan<char> line, Options<char> option);
// without options, but bytes instead of char
YourType ParseData(ReadOnlySpan<byte> line);
// with options, but bytes instead of char
YourType ParseData(ReadOnlySpan<byte> line, Options<char> option);
Reason
- Parallelization of line parsing
- Avoid allocation of List or similar
Other
Maybe support for lines without newline characters could be limited to single line parsing?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestup for grapsfeel free to make a pull request ;)feel free to make a pull request ;)