-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Allow crc32c hashing of SubString{String} #47693
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
Conversation
|
I believe the CI failures are unrelated |
|
Would it be useful to add a |
|
Not sure... I think |
|
That I don't know, I just thought it'd be good to safeguard this via a test that will explicitly break 🤷 If anything, it'll help a future implementor of non- |
|
It is not possible to construct a |
|
As mentioned above, a or something similar. |
Since SubString{String} has the same memory layout as String, this should be
safe to do.
That doesn't seem related to this PR at all, but perhaps you can add that in a separate PR if you think it is necessary. |
Since SubString{String} has the same memory layout as String, this should be safe to do.