bitset -> bit field
This commit is contained in:
parent
3111bc70c7
commit
dfa8fd0bcc
|
@ -73,7 +73,7 @@ invalidation will be done by comparing the metadata of the source file with that
|
||||||
in the header.
|
in the header.
|
||||||
|
|
||||||
If the lowest bit of the bit field is set, the pyc is a hash-based pyc. We call
|
If the lowest bit of the bit field is set, the pyc is a hash-based pyc. We call
|
||||||
the second lowest bit the ``check_source`` flag. Following the bitset is a
|
the second lowest bit the ``check_source`` flag. Following the bit field is a
|
||||||
64-bit hash of the source file. We will use a SipHash_ with a hardcoded key of
|
64-bit hash of the source file. We will use a SipHash_ with a hardcoded key of
|
||||||
the contents of the source file. Another a fast hash like MD5 or BLAKE2_ would
|
the contents of the source file. Another a fast hash like MD5 or BLAKE2_ would
|
||||||
also work. We choose SipHash because Python already has a builtin implementation
|
also work. We choose SipHash because Python already has a builtin implementation
|
||||||
|
|
Loading…
Reference in New Issue