diff options
author | Jason W. Bacon <jwb@FreeBSD.org> | 2023-08-06 15:34:43 +0000 |
---|---|---|
committer | Jason W. Bacon <jwb@FreeBSD.org> | 2023-08-06 15:36:37 +0000 |
commit | 21e0240b8fe6a1552665bdc2e52c1b198e4df49c (patch) | |
tree | 479b35718b323b867c342ce9bf2c80a2d97097dc /devel/py-cykhash/pkg-descr | |
parent | 2eff09595997f14e2a589568fdf3289643a093c1 (diff) | |
download | ports-21e0240b8fe6a1552665bdc2e52c1b198e4df49c.tar.gz ports-21e0240b8fe6a1552665bdc2e52c1b198e4df49c.zip |
devel/py-cykhash: Cython equivalent to khash-sets/maps
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.
Diffstat (limited to 'devel/py-cykhash/pkg-descr')
-rw-r--r-- | devel/py-cykhash/pkg-descr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/py-cykhash/pkg-descr b/devel/py-cykhash/pkg-descr new file mode 100644 index 000000000000..dc8460a45675 --- /dev/null +++ b/devel/py-cykhash/pkg-descr @@ -0,0 +1,14 @@ +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. |