Revision 653b1f9ada2fb9c7b2189f41fa277fc55c7eab0c authored by Antoine R. Dumont (@ardumont) on 06 August 2020, 10:55:23 UTC, committed by Antoine R. Dumont (@ardumont) on 06 August 2020, 16:50:27 UTC
The existing implementation computed the next token using the tok (adding 1).
It's not good enough as it would skip some contents in case of collision on
tok (collisions exist as the tok here is a noncryptographic hash on 32 bits).

Related to T2518
1 parent be9e958
History
File Mode Size
bin
docs
sql
swh
.gitignore -rw-r--r-- 136 bytes
.pre-commit-config.yaml -rw-r--r-- 1.1 KB
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 46 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 242 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 69 bytes
README.md -rw-r--r-- 4.6 KB
conftest.py -rw-r--r-- 294 bytes
mypy.ini -rw-r--r-- 1.2 KB
pyproject.toml -rw-r--r-- 39 bytes
pytest.ini -rw-r--r-- 392 bytes
requirements-swh-journal.txt -rw-r--r-- 19 bytes
requirements-swh.txt -rw-r--r-- 71 bytes
requirements-test.txt -rw-r--r-- 318 bytes
requirements.txt -rw-r--r-- 99 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 661 bytes

README.md

back to top