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

Replace boost hash usage with TfHash in pxr/usd/sdf (except SdfPath) #2181

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

nvmkuruc
Copy link
Collaborator

@nvmkuruc nvmkuruc commented Jan 20, 2023

Description of Change(s)

Requires #2173
To remove the dependency of pxr/usd/sdf on boost's hashing functions

  • Python bindings for __hash__ added to SdfAssetPath, SdfPayload, SdfListOp, and SdfReference.
  • Test coverage for hashing added for SdfListOp, SdfReference, SdfPayload, and SdfValueTypeName
  • boost::hash_combine usage replaced with TfHash::Combine
  • SdfPath will be put into its own PR so it's easier to back out this fundamental and commonly hashed type without affecting the rest of sdf

Fixes Issue(s)

-#2172 (additional PRs forthcoming)

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@nvmkuruc nvmkuruc changed the title Replace boost hash usage with TfHash in pxr/base/sdf (except SdfPath) Replace boost hash usage with TfHash in pxr/usd/sdf (except SdfPath) Jan 20, 2023
@nvmkuruc nvmkuruc force-pushed the sdfhash branch 4 times, most recently from 363a7f0 to 98fb89f Compare January 26, 2023 22:52
@sunyab
Copy link
Contributor

sunyab commented Jan 27, 2023

Filed as internal issue #USD-7901

@pixar-oss pixar-oss merged commit c80efe8 into PixarAnimationStudios:dev Mar 2, 2023
@nvmkuruc nvmkuruc deleted the sdfhash branch December 29, 2023 03:09
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.

3 participants