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

ustring::from_hash() #3397

Merged
merged 1 commit into from
Apr 22, 2022
Merged

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Apr 22, 2022

If you know the hash of a ustring, this tells you the ustring.
(Caveat: in the very unlikely chance of two ustrings having the same
hash, this will return the first one it finds in the table.)

If you know the hash of a ustring, this tells you the ustring.
(Caveat: in the very unlikely chance of two ustrings having the same
hash, this will return the first one it finds in the table.)
@lgritz lgritz requested a review from cmstein April 22, 2022 04:22
Copy link
Contributor

@cmstein cmstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lgritz lgritz merged commit d4074f0 into AcademySoftwareFoundation:master Apr 22, 2022
@lgritz lgritz deleted the lg-ustring branch April 23, 2022 05:49
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jun 18, 2022
If you know the hash of a ustring, this tells you the ustring.
(Caveat: in the very unlikely chance of two ustrings having the same
hash, this will return the first one it finds in the table.)
lgritz added a commit to imageworks/OpenImageIO that referenced this pull request Jun 27, 2022
If you know the hash of a ustring, this tells you the ustring.
(Caveat: in the very unlikely chance of two ustrings having the same
hash, this will return the first one it finds in the table.)
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jun 29, 2022
If you know the hash of a ustring, this tells you the ustring.
(Caveat: in the very unlikely chance of two ustrings having the same
hash, this will return the first one it finds in the table.)
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.

2 participants