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

] chage comment #2342

Closed

Conversation

DenisYaroshevskiy
Copy link
Contributor

Summary:
I found "we don't trust the top bit" comment confusing.
What I believe is happening, is that tag could be 0 for a non-zero element.
And then things would break.

As a consequence the code also relies on top bit being 1 for set values.

Differential Revision: D66307350

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66307350

Summary:

I found "we don't trust the top bit" comment confusing.
What I believe is happening, is that tag could be 0 for a non-zero element.
And then things would break.

As a consequence the code also relies on top bit being 1 for set values.

Differential Revision: D66307350
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66307350

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ec6d9c9.

facebook-github-bot pushed a commit to facebook/hhvm that referenced this pull request Nov 22, 2024
Summary:
X-link: facebook/folly#2342

I found "we don't trust the top bit" comment confusing.
What I believe is happening, is that tag could be 0 for a non-zero element.
And then things would break.

As a consequence the code also relies on top bit being 1 for set values.

Reviewed By: Gownta

Differential Revision: D66307350

fbshipit-source-id: 6e6cd2613098493c1414fdf9419f7f54ed11c8bf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants