mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
c786a5941e
This is a (relatively) simple state machine running in the data callbacks invoked by the msgpack unpacking stack machine (the same machine is used in msgpack-c and msgpack-python, changes are minor and cosmetic, e.g. removal of msgpack_unpack_object, removal of the C++ template thus porting to C and so on). Compared to the previous solution this has multiple advantages - msgpack-c dependency is removed - this approach is faster and requires fewer and smaller memory allocations Testability of the two solutions does not differ in my professional opinion(tm). Two other changes were rolled up; _hashindex.c can be compiled without Python.h again (handy for fuzzing and testing); a "small" bug in the cache sync was fixed which allocated too large archive indices, leading to excessive archive.chunks.d disk usage (that actually gave me an idea). |
||
---|---|---|
.. | ||
algorithms | ||
cache_sync | ||
crypto | ||
platform | ||
testsuite | ||
__init__.py | ||
__main__.py | ||
_hashindex.c | ||
archive.py | ||
archiver.py | ||
cache.py | ||
compress.pyx | ||
constants.py | ||
fuse.py | ||
hashindex.pyx | ||
helpers.py | ||
item.pyx | ||
locking.py | ||
logger.py | ||
lrucache.py | ||
paperkey.html | ||
patterns.py | ||
remote.py | ||
repository.py | ||
selftest.py | ||
shellpattern.py | ||
upgrader.py | ||
version.py | ||
xattr.py |