commit | 16e93a8d594ac2f464748acff49a9705a7da35e6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jan 28 00:00:11 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jan 28 00:00:11 1997 +0000 |
tree | d64870c134234ea9724080d275b292025d485a19 | |
parent | deb0c5e66cffce69773a27b14456ec3c9413b592 [diff] |
Changed the lookup algorithm again, based on Reimer Behrends's post. The table size is now constrained to be a power of two, and we use a variable increment based on GF(2^n)-{0} (not that I have the faintest idea what that is :-) which helps avoid the expensive '%' operation. Some of the entries in the table of polynomials have been modified according to a post by Tim Peters.