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

use gmp_hamdist if available #4

Merged
merged 1 commit into from Mar 5, 2015
Merged

Conversation

winkelement
Copy link
Contributor

For calculating the hamming distance use gmp php math extension with gmp_hamdist.
Local testing shows 30-50% faster calculation for me.

For calculating the hamming distance use gmp php math extension with gmp_hamdist.
Local testing shows 30-50% faster calculation for me.
@jenssegers
Copy link
Owner

Cool, thanks!

jenssegers added a commit that referenced this pull request Mar 5, 2015
Use gmp_hamdist if available
@jenssegers jenssegers merged commit 5fb71e3 into jenssegers:master Mar 5, 2015
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.

None yet

2 participants