nushell
nushell copied to clipboard
Refactor `parse` command
Description
- Switches the
excessin theParserStreamandParseStreamerExternaltypes from aVecto aVecDeque - Removes unnecessary clones to
stream_helper - Other simplifications and loop restructuring
I'm wondering if it's possible to fix the TODOs about regex streaming like the helix team fixed it? https://twitter.com/burntsushi5/status/1774131574864273706
Oh that's cool, definitely something we could try in the future. In the mean time, the bytestream PR should allow us to run the regex on each line of the stream.
Thanks