pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/py-tibs



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jul 22 07:12:21 UTC 2026

Modified Files:
        pkgsrc/misc/py-tibs: Makefile distinfo

Log Message:
py-tibs: updated to 1.1.0

1.1

Added

* Added `Tibs.to_bools()` and `Mutibs.to_bools()` for converting to a list of
  bools. This is much faster than iterating with `list(...)`, and accepts the
  usual optional `start` and `end` parameters.

Fixed

* Fixed byte-aligned slice assignment and slice deletion writing to the wrong
  bits on a `Mutibs` created by slicing another `Mutibs` (the underlying
  storage of such objects does not always start on a byte boundary).
* Fixed a crash in `from_joined` when the same empty container was repeated
  in a list.
* Ranges passed to `set`, `unset`, `set_at` and `unset_at` now behave exactly
  like the list of their contents. Empty ranges (such as `range(1, 0)` or
  `range(0, 2, -1)`) are no-ops instead of crashing, and negative range values
  index from the end just as they do when passed in a list.

Performance improvements

* `find`, `rfind`, `find_all` and `count` with patterns of up to 64 bits now
  scan a byte at a time instead of a bit at a time.
* `find`, `rfind` and the `find_all` iterators with patterns longer than 64
  bits now use a fast 64-bit prefix scan with verification, falling back to
  the previous algorithm only for highly repetitive data.
* Setting and clearing bits by index with `set` and `unset` writes directly to
  the underlying bytes.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/misc/py-tibs/Makefile \
    pkgsrc/misc/py-tibs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/py-tibs/Makefile
diff -u pkgsrc/misc/py-tibs/Makefile:1.8 pkgsrc/misc/py-tibs/Makefile:1.9
--- pkgsrc/misc/py-tibs/Makefile:1.8    Thu Jul 16 11:37:04 2026
+++ pkgsrc/misc/py-tibs/Makefile        Wed Jul 22 07:12:21 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2026/07/16 11:37:04 adam Exp $
+# $NetBSD: Makefile,v 1.9 2026/07/22 07:12:21 adam Exp $
 
-DISTNAME=      tibs-1.0.0
+DISTNAME=      tibs-1.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tibs/}
Index: pkgsrc/misc/py-tibs/distinfo
diff -u pkgsrc/misc/py-tibs/distinfo:1.8 pkgsrc/misc/py-tibs/distinfo:1.9
--- pkgsrc/misc/py-tibs/distinfo:1.8    Thu Jul 16 11:37:04 2026
+++ pkgsrc/misc/py-tibs/distinfo        Wed Jul 22 07:12:21 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2026/07/16 11:37:04 adam Exp $
+$NetBSD: distinfo,v 1.9 2026/07/22 07:12:21 adam Exp $
 
 BLAKE2s (allocator-api2-0.2.21.crate) = 19229533116e7c08961658159a3a9779307bf1241963efefbcb34168b00ed036
 SHA512 (allocator-api2-0.2.21.crate) = 1bb5711ed6041b0d7eae2ec784b8aa9d215db0f49cf79c692946eeb0db545d358cbcaa8156ae34e51d05287c08574f1da251ee574f2392949e4ed26d04770d03
@@ -186,9 +186,9 @@ Size (tap-1.0.1.crate) = 11316 bytes
 BLAKE2s (target-lexicon-0.13.5.crate) = 68bf6c69ac036b1df41f1073b8a85e072da1e13c570340afe4f59722e4c95fd0
 SHA512 (target-lexicon-0.13.5.crate) = 956df27c01e1186c5356117ffd07810fc0b62fb919d5bfd215955ba85be00ef675212a3c0dc36679986be7b825442fec5c93c7643b7e1e19c04572e6463546fc
 Size (target-lexicon-0.13.5.crate) = 26928 bytes
-BLAKE2s (tibs-1.0.0.tar.gz) = 2d80e89e03edb598980d5bbaefc6886864fc488827e23006ec62122a80f93a10
-SHA512 (tibs-1.0.0.tar.gz) = 64fce5f0dfa8ce4d5e6c3f2b9ee7a610c22b5651ca17e8e23b8d5182ec7f44438a614d64eec7ccb324d6d2fdf0f1f5e3b094bb92620367a53119904d3c0fc859
-Size (tibs-1.0.0.tar.gz) = 2166659 bytes
+BLAKE2s (tibs-1.1.0.tar.gz) = 2362957c01d5eaa6136094f08b554be4ec27430f91ec81771180acf4ba792d59
+SHA512 (tibs-1.1.0.tar.gz) = fd21f1485a1582b4a9325c587db796fd601088aa2288040bc135cf8c60f9484c565f01e88d11dd978386ad65284233c96151019a9e7196bd60925d61162ef24e
+Size (tibs-1.1.0.tar.gz) = 2184321 bytes
 BLAKE2s (typenum-1.20.1.crate) = 934ab6c421561d93f1a27032be23ce74c9597f8b3a400b3a67b50af525e91ff3
 SHA512 (typenum-1.20.1.crate) = ad4768b49dc06808e3135411ffaf21453572d152f71d73c34b7fe5d00e276d3e121dc78ebed57d620cf46b5ab24b5b5e0787f38ad9ce8bd12330b499cbbde5e1
 Size (typenum-1.20.1.crate) = 105479 bytes



Home | Main Index | Thread Index | Old Index