diff options
author | Guido van Rossum <guido@python.org> | 1997-01-29 04:45:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-01-29 04:45:16 (GMT) |
commit | 9e5656ca3f3eed7169ead42e7a768733baaf2a16 (patch) | |
tree | 1fbd4283facc7f774e2d9c8a67b1ee2e03aa4684 /Objects/dictobject.c | |
parent | 47110d7f442c06474d4e103afa296c64f8ac8e5a (diff) | |
download | cpython-9e5656ca3f3eed7169ead42e7a768733baaf2a16.zip cpython-9e5656ca3f3eed7169ead42e7a768733baaf2a16.tar.gz cpython-9e5656ca3f3eed7169ead42e7a768733baaf2a16.tar.bz2 |
Final three poly table entries corrected by Tim Peters.
Reindented the whole table.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 61 |
1 files changed, 30 insertions, 31 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 96211ec..bcd615d 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -52,37 +52,36 @@ Table of irreducible polynomials to efficiently cycle through GF(2^n)-{0}, 2<=n<=30. */ static long polys[] = { - 4 + 3, - 8 + 3, - 16 + 3, - 32 + 5, - 64 + 3, - 128 + 3, - 256 + 29, - 512 + 17, - 1024 + 9, - 2048 + 5, - 4096 + 83, - 8192 + 27, - 16384 + 43, - 32768 + 3, - 65536 + 45, - 131072 + 9, - 262144 + 39, - 524288 + 39, - 1048576 + 9, - 2097152 + 5, - 4194304 + 3, - 8388608 + 33, - 16777216 + 27, - 33554432 + 9, - 67108864 + 71, - 134217728 + 39, - /* Not verified by Tim P: */ - 268435456 + 3, - 536870912 + 5, - 1073741824 + 3, - 0 + 4 + 3, + 8 + 3, + 16 + 3, + 32 + 5, + 64 + 3, + 128 + 3, + 256 + 29, + 512 + 17, + 1024 + 9, + 2048 + 5, + 4096 + 83, + 8192 + 27, + 16384 + 43, + 32768 + 3, + 65536 + 45, + 131072 + 9, + 262144 + 39, + 524288 + 39, + 1048576 + 9, + 2097152 + 5, + 4194304 + 3, + 8388608 + 33, + 16777216 + 27, + 33554432 + 9, + 67108864 + 71, + 134217728 + 39, + 268435456 + 9, + 536870912 + 5, + 1073741824 + 83, + 0 }; /* Object used as dummy key to fill deleted entries */ |