mirror of
https://github.com/google/brotli.git
synced 2026-09-25 08:05:59 +00:00
[PR #231] [MERGED] Use consistent bit ordering and variable names #823
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/231
Author: @dsnet
Created: 10/20/2015
Status: ✅ Merged
Merged: 10/26/2015
Merged by: @szabadka
Base:
master← Head:master📝 Commits (4)
c996c06Use consistent bit ordering and variable namesefeb59cPlaced explicit bit pattern table for MNIBBLES to avoid any doubts0a9f65as/static prefix code/variable length code/gec8756dRemove note at end of section 3.1 about switching prefix conventions📊 Changes
1 file changed (+30 additions, -23 deletions)
View changed files
📝
docs/draft-alakuijala-brotli-07.nroff(+30 -23)📄 Description
If bits are to be parsed from left-to-right, then make the bit-strings left-justified.
If bits are to be parsed from right-to-left, then make the bit-strings right-justified.
Section 3.1, which describes how prefix codes work shows prefix codes that are "left-to-right", which
is better for demonstrating how the work. However, most of the rest of the document uses a "right-to-left"
convention. We should distinctly say at the end of section 3.1 that we are switching conventions.
Thus, change the prefix code in section 3.5 to be "right-to-left" to be consistent with sections 9.1
and 9.2.
Also, change the variable names in section 7.3 to be consistent with those used in section 10.
Also, change the description of
MNIBBLESto beMNIBBLES - 4, similar to the convention of sayingMLEN - 1. Beforehand, the phrase "If MNIBBLES is 0, then ..." was unclear whether it meant MNIBBLES before the "plus 4" or after.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.