Skip to content

Conversation

@blishko
Copy link
Collaborator

@blishko blishko commented Oct 8, 2025

In decodeBuf when we manage to simplify the buffer to a fully concrete bytestring, we can just call ourself to handle the concrete case. No need to repeat the code to handle concrete bytestring.

In `decodeBuf` when we manage to simplify the buffer to a fully concrete
bytestring, we can just call ourself to handle the concrete case. No
need to repeat the code to handle concrete bytestring.
@blishko blishko requested a review from msooseth October 8, 2025 16:55
Copy link
Collaborator

@msooseth msooseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, yes, of course!

@msooseth msooseth merged commit 0ef0773 into main Oct 9, 2025
13 of 14 checks passed
@msooseth msooseth deleted the avoid-code-duplication branch October 9, 2025 10:16
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.

3 participants