python Programming Glossary: spama
Is this an appropriate use of python's built-in hash function? http://stackoverflow.com/questions/7646520/is-this-an-appropriate-use-of-pythons-built-in-hash-function open ' dev urandom' as f ... spam f.read 2 20 1 ... In 3 spamA spam 'A' In 4 Aspam 'A' spam In 5 spamB spam 'B' In 6 timeit.. 'A' In 4 Aspam 'A' spam In 5 spamB spam 'B' In 6 timeit spamA spamB 1000 loops best of 3 1.59 ms per loop In 7 timeit spamA.. spamB 1000 loops best of 3 1.59 ms per loop In 7 timeit spamA Aspam 10000000 loops best of 3 66.4 ns per loop In 8 timeit..
|