-
Notifications
You must be signed in to change notification settings - Fork 303
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
Is there something wrong with the hash function of mlt_properties_add? #981
Labels
Comments
Do not reproduce here using gcc 13 via msys2
|
There are only 256 possible hash keys. So the collision probability is high. That is OK and expected - which is why the find function performs a full search if the optimized hash search fails to find the correct property. Even in Dan's example I see:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
windows10; mlt v7.22.0
Is there something wrong with the hash function of mlt_properties_add? The hashes of many names in the picture are the same, and the data using mlt_properties_get is empty.
:
The text was updated successfully, but these errors were encountered: