Buckets:
| extern "C" { | |
| /* Cutoff for small string DJBX33A optimization in range [1, cutoff). | |
| * | |
| * About 50% of the strings in a typical Python application are smaller than | |
| * 6 to 7 chars. However DJBX33A is vulnerable to hash collision attacks. | |
| * NEVER use DJBX33A for long strings! | |
| * | |
| * A Py_HASH_CUTOFF of 0 disables small string optimization. 32 bit platforms | |
| * should use a smaller cutoff because it is easier to create colliding | |
| * strings. A cutoff of 7 on 64bit platforms and 5 on 32bit platforms should | |
| * provide a decent safety margin. | |
| */ | |
| /* Hash algorithm selection | |
| * | |
| * The values for Py_HASH_* are hard-coded in the | |
| * configure script. | |
| * | |
| * - FNV and SIPHASH* are available on all platforms and architectures. | |
| * - With EXTERNAL embedders can provide an alternative implementation with:: | |
| * | |
| * PyHash_FuncDef PyHash_Func = {...}; | |
| * | |
| * XXX: Figure out __declspec() for extern PyHash_FuncDef. | |
| */ | |
| } | |
Xet Storage Details
- Size:
- 1.66 kB
- Xet hash:
- 7d06f37cb70cd17ce63413c7625aad777deb8dfe353a13710289c5867ea72563
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.