Skip to main content

a simhash module in cpp for python

Project description

simhash

simhash cpp module for python, a cpp implement of simhash, support for large dimesion such as 128bit

install

pip install pysimhash

or install from github.com

git clone https://github.com/skiloop/simhash
cd simhash
python setup.py install

requirements

  • boost python

benchmark

With 100,000 simhash value creating and comparing(using benchmark.py) on Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz x86_64 ubuntu linux, results go as follow

implement time
pure python 11148.62 s
pysimhash 2392.36 s

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysimhash, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size pysimhash-1.0.6-cp27-cp27m-macosx_10_9_x86_64.whl (35.7 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size pysimhash-1.0.6.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page