Skip to content

Conversation

drinkcat
Copy link
Collaborator

Especially after splitting the parse function in multiple chunks, this makes the code a bit easier to read, despite the fact that parse is still inherently a complex function.

@tertsdiepraam FYI, I think I like it better now, using slices consistently instead of a mix of slices and iterators. And if I understand correctly how slices work, this should be mostly equivalent, performance wise.
@Qelxiros FYI too, some small changes to stuff you touched (lifetimes mostly, carving out suffix parsing to a common function)

Especially after splitting the `parse` function in multiple
chunks, this makes the code a bit easier to read, despite the fact
that `parse` is still inherently a complex function.
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit 83679a3 into uutils:main Apr 21, 2025
70 checks passed
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