1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00
borg/scripts
Marian Beermann c786a5941e CacheSynchronizer: redo as quasi FSM on top of unpack.h
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).
2017-06-02 17:43:15 +02:00
..
fuzz-cache-sync CacheSynchronizer: redo as quasi FSM on top of unpack.h 2017-06-02 17:43:15 +02:00
borg.exe.spec add paperkey.html to pyinstaller spec 2017-02-13 21:24:34 +01:00
errorlist.py json docs: rather complete error list 2017-02-28 12:46:26 +01:00
faked-debug.sh Start fakeroot faked in debug mode 2017-05-04 00:18:17 -06:00
glibc_check.py glibc_check.py: improve / fix docstring 2016-07-31 14:20:06 +02:00
hash_sizes.py move the hash sizes script also to scripts/ 2016-07-05 23:14:46 +02:00
py36-blake2.py Add test script for blake2b_256 against CPython 3.6 hashlib 2016-11-11 03:07:05 +01:00
release add release helper scripts 2016-07-07 19:02:50 +02:00
sign-binaries add release helper scripts 2016-07-07 19:02:50 +02:00