Path to this page:
Subject: CVS commit: pkgsrc/devel/py-kaitaistruct
From: Adam Ciarcinski
Date: 2022-11-28 19:42:10
Message id: 20221128184210.22282FA90@cvs.NetBSD.org
Log Message:
py-kaitaistruct: updated to 0.10
0.10
read_bytes(): use previous implementation again for small reads
For small reads, the new code that tries to avoid unnecessary reads is
noticeably slower than the previous code that reads unconditionally. In
the worst case (1-byte reads), the new code is 13 times as slow as the
previous implementation. The potential memory/IO savings only become
worth it for larger reads, where the performance difference disappears.
Files: