borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
10.93k stars 739 forks source link

use xxhash from pypi? #6535

Open ThomasWaldmann opened 2 years ago

ThomasWaldmann commented 2 years ago

we have our own binding to (lib)xxhash in borg.checksums, using cython.

it is not much code (because we only have bindings for the stuff we actually use), but we could maybe easily outsource it to that project and also have easier access to xxh128 or xxh3 than writing that ourselves.

https://pypi.org/project/xxhash/

ThomasWaldmann commented 2 years ago

also, considering that we only have xxh64 and crc32 in borg.checksums, we could completely eliminate that module if we use pypi xxhash.