Revisions of python-bitarray
- update to 2.9.2: * optimize initialization from strings by not constantly resizing buffer * optimize util.hex2ba() and util.base2ba() by avoiding unnecessary copies * optimize util.base2ba() and util.ba2base() for n=16 (hexadecimal)
- update to 2.9.1: * avoid buffer being unnecessarily initialized with 0s in several functions of the ``bitarray.util`` module * fix ``.count()`` type hint in pyi-file * improve testing * deprecate support for Python 2 - Python 2.7 support will be removed in bitarray version 3.0 * ``bitarray(n)`` for integer initializer ``n`` will always return a bitarray of length ``n`` with all items initialized to ``0`` * allow sub-bitarray in ``.count()``, `#212 * add ``util.ones()`` ``.find()`` and ``.index()``: add keyword argument ``right`` for rightmost index * ``.itersearch()``: add start and stop argument, and keyword * argument ``right`` * deprecate ``util.rindex()`` (will be removed in 3.0 release), * use ``.index(..., right=True)`` instead * deprecate ``util.make_endian()`` (will be removed in 3.0 release), * use ``bitarray(..., endian=...)`` instead
Automatic submission by obs-autosubmit
- update to 2.8.4: * simplify ``copy_n()`` (remove special cases) * add `word shift example C program * and simplify ``shift_r8()`` * improve documentation and testing
- update to 2.8.3: * ensure readonly attribute is set correctly when creating new objects * optimize sparse bitarray compression for raw block type * improve hash functions in Bloom filter example
- update to 2.8.2: * improve error messages for masked assignment * simplify test collection * added ``pytest.ini`` to allow running pytest with no additional arguments * ``util.sc_encode()``: avoid writing empty blocks at end of compressed stream, ie. skip encoding when total population count is reached * optimize `richcompare()` * `.bytereverse()` no longer sets unused pad bits to zero * fix `sys.getsizeof(bitarray)` by adding `.__sizeof__()`, see issue #100 - Update to 1.5.2:
- update to 2.8.1: * use reconstructor function for pickling * simplify implementation of ``.reverse()`` * allow `integer sequence indexing <indexing.rst>`__ by list of indices, * add `masked indexing <indexing.rst>`__ by bitarray masks, * improve ``.bytereverse()`` docstring, see issue
- update to 2.7.6: * remove caching hash value
- update to 2.7.5: * fix for pypy3.9-v7.3.11 * register ``bitarray`` as ``abc.MutableSequence`` * improve documentation regarding type when indexing single * bitarray items
- update to 2.7.3: * allow running ``python setup.py test`` * add official Python 3.12 support * simplify count functionality in util module * retire ``bitcount_lookup[256]`` table * improve ``util.count_n()`` error messages * avoid ``util`` module tests from being run more than once in each call to ``bitarray.test()`` when called multiple times in the same Python process * improve testing
- 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
- update to 2.7.1: * optimize ``util.sc_encode()``
- update to 2.7.0: * add util.sc_encode() and util.sc_decode() for compression of sparse bitarrays * add util.any_and() * add util.intervals() * move functionality of the following utility functions entirely to C: hex2ba(), base2ba(), deserialize(), vl_decode(), zeros() * improve error checking for unpickling * add distance metrics
- update to 2.6.2: * optimize `richcompare()` for opposite endianness * improve some docstrings add tests * add documentation on shift operators, #181 * fix typo in iterable initializer description, #179 * optimize `richcompare()`
Automatic submission by obs-autosubmit
Displaying revisions 1 - 20 of 26