Skip to content

Refactor varint constants for improved readability#744

Open
SYaoJun wants to merge 1 commit intoapache:masterfrom
SYaoJun:226_magic_2
Open

Refactor varint constants for improved readability#744
SYaoJun wants to merge 1 commit intoapache:masterfrom
SYaoJun:226_magic_2

Conversation

@SYaoJun
Copy link

@SYaoJun SYaoJun commented Feb 26, 2026

What changes were proposed in this pull request?

Replace magic numbers with named constants for varint encoding/decoding.
This makes the code more maintainable and easier to understand.

fix: #745

How was this PR tested?

  • Tests have Added for the changes
  • Production environment verified

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.

Refactor magic numbers into named constants

1 participant