borg/src/borg
Radu Ciorba 12e0f55991 replace modulo with if to check for wraparound in hashmap
Integer division is slow, and this improves the speed of all operations on the hashmap.

Benchmarked this patch on the rciorba/master-bench branch:
9e5d61e03c/results.html
2017-07-20 13:22:34 +03:00
..
algorithms create _endian.h 2017-07-11 19:12:19 +02:00
cache_sync info: use CacheSynchronizer & HashIndex.stats_against 2017-06-13 14:34:10 +02:00
crypto Merge pull request #2791 from ThomasWaldmann/dash_open 2017-07-05 10:02:34 +02:00
platform platform.SaveFile: truncate_and_unlink temporary 2017-06-06 18:13:20 +02:00
testsuite Enable pylint check E0211 (method has no argument) in .coafile 2017-07-17 11:21:30 +02:00
__init__.py Improve robustness of monkey patching borg.constants.PBKDF2_ITERATIONS. And add lots of warnings. 2017-06-10 11:42:42 +02:00
__main__.py move borg package to src/ 2016-05-05 20:19:50 +02:00
_chunker.c chunker: don't do uint32_t >> 32 2017-06-13 11:42:43 +02:00
_endian.h create _endian.h 2017-07-11 19:12:19 +02:00
_hashindex.c replace modulo with if to check for wraparound in hashmap 2017-07-20 13:22:34 +03:00
archive.py support borg list repo --format {comment}, fixes #2081 2017-07-05 23:37:42 +02:00
archiver.py Add list of status chars to borg create --filter help text 2017-07-18 14:31:15 -07:00
cache.py AdHocCache: avoid divison by zero 2017-06-18 13:32:12 +02:00
chunker.pyx chunker: fix invalid use of types 2017-06-14 19:16:36 +02:00
compress.pyx whitespace changes by coala 2017-06-06 04:46:15 +02:00
constants.py move get_limited_unpacker to helpers 2017-06-25 23:36:28 +02:00
fuse.py Use archive creation time as mtime for FUSE mount (fixes #2834) 2017-07-18 15:07:59 -07:00
hashindex.pyx fuse: versions view, linear numbering by archive time 2017-07-03 12:38:10 +02:00
helpers.py Merge pull request #2792 from ThomasWaldmann/comment-placeholder 2017-07-06 03:12:01 +02:00
item.pyx item: explicate csize isn't memorizable 2017-06-18 02:01:28 +02:00
locking.py Parse & pass BORG_HOSTNAME_IS_UNIQUE env var to enable stale lock killing 2016-11-07 21:56:40 +01:00
logger.py fix --progress and logging in general for remote 2017-05-20 12:54:48 +02:00
lrucache.py lrucache: use explicit sentinel instead of None 2017-06-16 00:41:38 +02:00
nanorst.py key import: allow reading from stdin 2017-06-27 16:18:21 +02:00
paperkey.html key export: center QR code on the page 2017-02-13 21:24:33 +01:00
patterns.py patterns: don't recurse with !/--exclude for path-prefix (pf:) 2017-06-03 12:13:32 -04:00
remote.py move get_limited_unpacker to helpers 2017-06-25 23:36:28 +02:00
repository.py move get_limited_unpacker to helpers 2017-06-25 23:36:28 +02:00
selftest.py Add tertiary authentication for metadata (TAM) 2016-12-20 22:53:53 +01:00
shellpattern.py shellpattern: add match_end arg 2017-07-03 19:34:48 +02:00
upgrader.py Name backup directories with 'before-upgrade' 2017-07-15 16:23:08 +02:00
version.py version: add missing test for format_version, fix bug 2017-06-27 10:11:57 +02:00
xattr.py xattr: document API 2017-05-20 18:50:10 +02:00