cyheapq-0.1.1
توضیحات
Heapq in Cython
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cyheapq-0.1.1 |
| نام | cyheapq |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Frens Jan Rumph |
| ایمیل نویسنده | mail@frensjan.nl |
| آدرس صفحه اصلی | https://github.com/bndl/cyheapq |
| آدرس اینترنتی | https://pypi.org/project/cyheapq/ |
| مجوز | - |
=========================
CyHeapQ - HeapQ in Cython
=========================
This module is an adaptation of merge, nlargest and nsmallest from the heapq module in Cython. This
makes it just a tad bit faster.
x 1.5 for nlargest and nsmallest (given a particular micro benchnmark of course). x 3 for merge.
nlargest performance is comparable with cytoolz.topk (but cyheapq also provides nsmallest). merge
is around 8 times faster than cytoolz.merge_sorted. The microbenchmark used involves sifting /
merging 10e6 random floats.
نحوه نصب
نصب پکیج whl cyheapq-0.1.1:
pip install cyheapq-0.1.1.whl
نصب پکیج tar.gz cyheapq-0.1.1:
pip install cyheapq-0.1.1.tar.gz