4c63298d18
- update to 2.7.2: * speedup all count functionality by using `__builtin_popcountll when available * add popcount64() to bitarray.h - we assume now that uint64_t` is always available * improve testing
Dirk Mueller2023-02-15 14:00:02 +00:00
e703c5b3ee
- update to 2.7.2: * speedup all count functionality by using `__builtin_popcountll when available * add popcount64() to bitarray.h - we assume now that uint64_t` is always available * improve testing
Dirk Mueller2023-02-15 14:00:02 +00:00
0e56603e24
- update to 2.4.0: * enable building wheels for multiple platforms and Python versions using pypa/cibuildwheel, see #165 and #170 (thanks Brian Thorne, @hardbyte) * use setuptools instead of distutils in setup.py, #168 * add missing type hinting for .count() step argument
Dirk Mueller2022-03-27 14:19:08 +00:00
86fabd2c6f
- update to 2.4.0: * enable building wheels for multiple platforms and Python versions using pypa/cibuildwheel, see #165 and #170 (thanks Brian Thorne, @hardbyte) * use setuptools instead of distutils in setup.py, #168 * add missing type hinting for .count() step argument
Dirk Mueller2022-03-27 14:19:08 +00:00
a39b62c372
Accepting request 913269 from devel:languages:python
Richard Brown
2021-08-20 14:57:54 +00:00
bf405d17c4
Accepting request 913269 from devel:languages:python
Richard Brown
2021-08-20 14:57:54 +00:00
07050c5702
Accepting request 913102 from home:glaubitz:branches:devel:languages:python
Markéta Machová2021-08-20 07:27:59 +00:00
d8f8ed6a91
Accepting request 913102 from home:glaubitz:branches:devel:languages:python
Markéta Machová2021-08-20 07:27:59 +00:00
afc8f6e520
- Update to 1.5.3: * add optional index parameter to .index() to invert single bit * fix sys.getsizeof(bitarray) by adding .__sizeof__(), see issue #100Steve Kowalik2020-09-30 04:37:27 +00:00
4135a29d5e
- Update to 1.5.3: * add optional index parameter to .index() to invert single bit * fix sys.getsizeof(bitarray) by adding .__sizeof__(), see issue #100Steve Kowalik2020-09-30 04:37:27 +00:00
584e1bd76e
- Update to 1.5.2: * add PyType_Ready usage, issue #66 * speedup search() for bitarrays with length 1 in sparse bitarrays, see issue #67 * add tests * support signed integers in util.ba2int() and util.int2ba(), see issue #85 * deprecate .length() in favor of len() * Use Py_ssize_t for bitarray index. This means that on 32bit systems, the maximun number of elements in a bitarray is 2 GBits. We used to have a special 64bit index type for all architectures, but this prevented us from using Python's sequence, mapping and number methods, and made those method lookups slow. * speedup slice operations when step size = 1 (if alignment allows copying whole bytes) * Require equal endianness for operations: &, |, ^, &=, |=, ^=. This should have always been the case but was overlooked in the past. * raise TypeError when tring to create bitarray from boolean * This will be last release to still support Python 2.6 (which was retired in 2013). We do NOT plan to stop support for Python 2.7 anytime soon.
Steve Kowalik2020-08-31 05:04:02 +00:00
0780ccbe63
- Update to 1.5.2: * add PyType_Ready usage, issue #66 * speedup search() for bitarrays with length 1 in sparse bitarrays, see issue #67 * add tests * support signed integers in util.ba2int() and util.int2ba(), see issue #85 * deprecate .length() in favor of len() * Use Py_ssize_t for bitarray index. This means that on 32bit systems, the maximun number of elements in a bitarray is 2 GBits. We used to have a special 64bit index type for all architectures, but this prevented us from using Python's sequence, mapping and number methods, and made those method lookups slow. * speedup slice operations when step size = 1 (if alignment allows copying whole bytes) * Require equal endianness for operations: &, |, ^, &=, |=, ^=. This should have always been the case but was overlooked in the past. * raise TypeError when tring to create bitarray from boolean * This will be last release to still support Python 2.6 (which was retired in 2013). We do NOT plan to stop support for Python 2.7 anytime soon.
Steve Kowalik2020-08-31 05:04:02 +00:00
5541a4696c
- Update to 1.4.2: * C-level: - simplify pack/unpack code - fix memory leak in ~ operation (bitarray_cpinvert) * add official Python 3.9 support * improve many docstrings * add DeprecationWarning for bitdiff() * add DeprecationWarning when trying to extend bitarrays from bytes on Python 3 (bitarrays(b'011') and .extend(b'110')) * C-level: - rewrote .fromfile() and .tofile() implementation, such that now the same code is used for Python 2 and 3. The new implementation is more memoery efficient on Python 3. - use memcmp() in richcompare to shortcut EQ/NE, when comparing two very large bitarrays for equality the speedup can easily be 100x - simplify how unpacking is handled * add more tests * add .clear() method (Python 3.3 added this method to lists) * avoid overallocation when bitarray objects are initially created * raise BufferError when resizing bitarrays which is exporting buffers * add example to study the resize() function * improve some error messages * raise NotImplementedError with (useful message) when trying to call the .fromstring() or .tostring() methods, which have been removed in the last release
Steve Kowalik2020-08-05 01:01:05 +00:00
abc12271d6
- Update to 1.4.2: * C-level: - simplify pack/unpack code - fix memory leak in ~ operation (bitarray_cpinvert) * add official Python 3.9 support * improve many docstrings * add DeprecationWarning for bitdiff() * add DeprecationWarning when trying to extend bitarrays from bytes on Python 3 (bitarrays(b'011') and .extend(b'110')) * C-level: - rewrote .fromfile() and .tofile() implementation, such that now the same code is used for Python 2 and 3. The new implementation is more memoery efficient on Python 3. - use memcmp() in richcompare to shortcut EQ/NE, when comparing two very large bitarrays for equality the speedup can easily be 100x - simplify how unpacking is handled * add more tests * add .clear() method (Python 3.3 added this method to lists) * avoid overallocation when bitarray objects are initially created * raise BufferError when resizing bitarrays which is exporting buffers * add example to study the resize() function * improve some error messages * raise NotImplementedError with (useful message) when trying to call the .fromstring() or .tostring() methods, which have been removed in the last release
Steve Kowalik2020-08-05 01:01:05 +00:00