Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (4m)  pkgsrc-2024Q1 (20d)  pkgsrc-2023Q4 (67d)  pkgsrc-2023Q2 (100d)  pkgsrc-2023Q3 (179d) 

2024-06-07 10:39:15 UTC Now

2024-01-10 14:22:24 UTC MAIN commitmail json YAML

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.

(bacon)