Replies: 2 comments 5 replies
-
I've moved this to a discussion. If you've read the docs, SCons thus far hasn't required any other packages besides what's in the python distribution to run. Feel free to develop this in the scons-contrib repo if you'd like to see if you can get this working with SCons. |
Beta Was this translation helpful? Give feedback.
-
This might start with providing boilerplate code which users can integrate into their E.g. this should work (but doesn't):
https://scons.org/doc/latest/HTML/scons-api/SCons.Util#SCons.Util.hashes.set_hash_format |
Beta Was this translation helpful? Give feedback.
-
Currently, SCons only supports hash algorithms which are provided by the
hashlib
, but those are rather slow (in the ballpark of 1-2 GB/s).There are much faster alternatives available, e.g.
xxHash
which runs at the speed of RAM (an order of magnitude faster than MD5, up to ~30 times, according toxxHash
developers).xxHash
is readily available as a C and Python3 library via Debian repositories, so e.g. Ubuntu/Debian users can install it with ease. The hash is not cryptographic, but it's acceptable according to the comments I found in SCons code.Beta Was this translation helpful? Give feedback.
All reactions