From: Rob Browning Date: Fri, 27 Dec 2019 19:24:56 +0000 (-0600) Subject: midx: shun buffers X-Git-Tag: 0.31~205 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5f588486882fbee82dd6855cad51295bd6d8106;hp=d5f588486882fbee82dd6855cad51295bd6d8106;p=bup.git midx: shun buffers Rework PackMidx to avoid buffers which are reasonably heavyweight, and will be even larger (as memoryviews) in python 3, requiring ~200 bytes. Instead, just use direct offsets into the underlying mmap -- slicing an mmap currently just produces bytes. Signed-off-by: Rob Browning Tested-by: Rob Browning ---