Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cat.decode #733

Merged
merged 2 commits into from
Mar 4, 2024
Merged

Improve cat.decode #733

merged 2 commits into from
Mar 4, 2024

Conversation

Sainan
Copy link
Member

@Sainan Sainan commented Mar 4, 2024

#732 shows that flattening the tree is a rather imperfect conversion, so I don't think it should be the default, hence I'm changing the second argument of cat.decode to take an "output format" which can either be "flat", "flatwithorder" or "expanded" (now the default).

This also implements #734 so this API is maintains its simplicity.

@Sainan Sainan marked this pull request as draft March 4, 2024 12:54
@Sainan Sainan mentioned this pull request Mar 4, 2024
@Sainan Sainan marked this pull request as ready for review March 4, 2024 15:13
@Sainan Sainan merged commit 011462b into 0.9.0 Mar 4, 2024
8 checks passed
@Sainan Sainan deleted the improve-cat-decode branch March 4, 2024 16:20
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.

1 participant