devel/py-cykhash 2.0.1_1 DragonFly
Cython equivalent to khash-sets/maps
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 323.2 KiB, 1775.8 KiB installed
Description
Cykhash is a cython equivalent to khash-sets/maps, efficient implementation of isin and unique
Benefits:
Brings functionality of khash to Python and Cython and can be used
seamlessly in numpy or pandas.
Numpy's world is lacking the concept of a (hash-)set. This
shortcoming is fixed and efficient (memory- and speedwise compared
to pandas') unique and isin are implemented.
Python-set/dict have big memory-footprint. For some datatypes the
overhead can be reduced by using khash by factor 4-8.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-cykhash | 2.0.1_1 |
| FreeBSD | devel/py-cykhash | 2.0.1_1 |
| NetBSD | devel/py-cykhash | 2.0.1nb2 |
| HardenedBSD | devel/py-cykhash | 2.0.1_1 |
| GhostBSD | devel/py-cykhash | 2.0.1_1 |
Install
Binary package:
pkg install py311-cykhash
From DPorts:
cd /usr/dports/devel/py-cykhash && make install clean