-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes since 1.0.0: - Bottleneck is now written in C - Cython is no longer a dependency - Source tarball size reduced by 80% - Build time reduced by 66% - Install size reduced by 45% - All Bottleneck functions release the GIL - median is faster if the input array contains NaN - move_median is faster for input arrays that contain lots of NaNs - No speed penalty for median, nanmedian, nanargmin, nanargmax for Fortran ordered input arrays when axis is None - Function call overhead cut in half for reduction along all axes (axis=None) if the input array satisfies at least one of the following properties: 1d, C contiguous, F contiguous - Reduction along all axes (axis=None) is more than twice as fast for long, narrow input arrays such as a (1000000, 2) C contiguous array and a (2, 1000000) F contiguous array - The new function bench_detailed runs a detailed performance benchmark on a single bottleneck function. - Bottleneck can be installed on systems that do not yet have NumPy installed. Previously that only worked on some systems. - New functions: - move_var - move_argmin - move_argmax - move_rank - push
- Loading branch information
Showing
4 changed files
with
52 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Bottleneck is a collection of fast NumPy array functions written in C. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# $NetBSD$ | ||
|
||
DISTNAME= Bottleneck-1.0.0 | ||
DISTNAME= Bottleneck-1.2.0 | ||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | ||
CATEGORIES= math python | ||
MASTER_SITES= ${MASTER_SITE_PYPI:=B/Bottleneck/} | ||
|
||
MAINTAINER= [email protected] | ||
HOMEPAGE= http://berkeleyanalytics.com/bottleneck/ | ||
COMMENT= Fast, NumPy array functions written in Cython | ||
COMMENT= Fast NumPy array functions written in Cython | ||
LICENSE= 2-clause-bsd | ||
|
||
#DEPENDS+= ${PYPKGPREFIX}-scipy>=0.15.1:../../math/py-scipy | ||
USE_LANGUAGES= c | ||
|
||
.include "../../devel/py-cython/buildlink3.mk" | ||
.include "../../lang/python/egg.mk" | ||
BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.9.1 | ||
.include "../../math/py-numpy/buildlink3.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
$NetBSD: distinfo,v 1.1.1.1 2011/04/02 22:35:05 jihbed Exp $ | ||
|
||
SHA1 (Bottleneck-1.0.0.tar.gz) = a7a9549c018bde8fcdb471d0d70b03f8d40e4387 | ||
RMD160 (Bottleneck-1.0.0.tar.gz) = 60a2f149bc9f695ebd09313507e7880a523096c9 | ||
Size (Bottleneck-1.0.0.tar.gz) = 363223 bytes | ||
SHA1 (Bottleneck-1.2.0.tar.gz) = 9b1c1fe139cfe38ea9b3ecc321cb884d91528b6e | ||
RMD160 (Bottleneck-1.2.0.tar.gz) = a9e5cee81b7f4d317db72188628884ab8f748a27 | ||
SHA512 (Bottleneck-1.2.0.tar.gz) = 2dce3626b33923b4ab08047910b38e5531090a58f63a380392b78352c3dc657b947dc6dcad306734beaf130855c10ff9fb0048c027821720660fc62a242daafb | ||
Size (Bottleneck-1.2.0.tar.gz) = 92504 bytes |