1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Add varint-128 encode/decode to IoRead/IoWrite.

This makes it more efficient to read/write (especially read) varint-128 to/from IO.

Update the Pack type to take advantage of the more efficient read and remove some duplicate code.
This commit is contained in:
David Steele
2022-10-05 17:01:35 -10:00
committed by GitHub
parent 102ce5dee4
commit 5602f179a1
9 changed files with 136 additions and 28 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ unit:
# ----------------------------------------------------------------------------------------------------------------------------
- name: io
total: 4
total: 5
feature: IO
harness: pack