Skip to content

Modernize in preparation for move to Layer Zero#47342

Closed
NSProgrammer wants to merge 1 commit into
facebook:mainfrom
NSProgrammer:export-D65245787
Closed

Modernize in preparation for move to Layer Zero#47342
NSProgrammer wants to merge 1 commit into
facebook:mainfrom
NSProgrammer:export-D65245787

Conversation

@NSProgrammer
Copy link
Copy Markdown
Contributor

Summary:
There are things we can do to modernize FBHashKit to make it ready for prime time, aka Layer Zero.

  • Consolidate down to a singular meta_hash(...) generic macro (supports all primitives for hashing)
  • Eliminate the unnecessary C++
  • Deprecate legacy FB APIs
  • Make logic (and interfaces) explicit for 32 vs 64 bit inputs and 32 vs 64 bit outputs
  • Introduce robust unit tests
  • Have unit tests actually testable for 32-bit hashes

Reviewed By: cipolleschi

Differential Revision: D65245787

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Oct 31, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Summary:
Pull Request resolved: facebook#47342

There are things we can do to modernize `FBHashKit` to make it ready for prime time, aka Layer Zero.

  * Consolidate down to a singular `meta_hash(...)` generic macro (supports all primitives for hashing)
  * Eliminate the unnecessary C++
  * Deprecate legacy FB APIs
  * Make logic (and interfaces) explicit for 32 vs 64 bit inputs and 32 vs 64 bit outputs
  * Introduce robust unit tests
  * Have unit tests actually testable for 32-bit hashes

## Changelog

[Internal][Change] Prep to move `FBXXHashUtils`

Reviewed By: cipolleschi

Differential Revision: D65245787
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 1, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in f8fc90e.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by Nolan O'Brien in f8fc90e

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants