69Fermer71
GodzilLe 11/10/2007 à 16:08
J'ai trouvé ça :
tromb Fichier joint : GeneralHashFunctions_-_C.zip

dont les résultats sont :

mtrapier@prod500 ~/Desktop/test $ ./HashTest 
General Purpose Hash Function Algorithms Test
By Arash Partow - 2002         
Key:                         abcdefghijklmnopqrstuvwxyz1234567890
 1. RS-Hash Function Value:   4097835502
 2. JS-Hash Function Value:   1651003062
 3. PJW-Hash Function Value:  126631744
 4. ELF-Hash Function Value:  126631744
 5. BKDR-Hash Function Value: 3153586616
 6. SDBM-Hash Function Value: 3449571336
 7. DJB-Hash Function Value:  729241521
 8. DEK-Hash Function Value:  2923964919
 9. BP-Hash Function Value:   1726880944
10. FNV-Hash Function Value:  3243095106
11. AP-Hash Function Value:   3929913477
mtrapier@prod500 ~/Desktop/test $ ./GPHFATest 
Index   Hash Name       LCL     LCL_CNT NZL     NC        ACL    UP%
 0      RSHash          7       1       35036   69693     1.50   66.55
 1      PJWHash         6       3       35017   69712     1.50   66.56
 2      ELFHash         6       3       35017   69712     1.50   66.56
 3      BKDRHash        6       9       35747   68982     1.52   65.87
 4      SDBMHash        7       1       37315   67414     1.55   64.37
 5      DJBHash         7       5       39062   65667     1.59   62.70
 6      DEKHash         8       1       40531   64198     1.63   61.30
 7      BPHash          110     476     103204  1525     68.66    1.46
 8      FNVHash         8       3       38609   66120     1.58   63.13
 9      APHash          7       10      38512   66217     1.58   63.23
mtrapier@prod500 ~/Desktop/test $ 


dont l'explication est trouvable la : http://www.partow.net/programming/hashfunctions/