Skip to content

Optimise bit operation in variable length coding. Remove unnecessary bit operation. #4367

@ZhangYu0123

Description

@ZhangYu0123

Describe the bug

Find this optimisation from code review. Optimise bit operation in variable length coding. Remove unnecessary bit operation.

B = 128
(v & (B - 1)) | B is equivalent with v | B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions