diff --git a/KeysetTest.h b/KeysetTest.h index 6abbe05b..7cf3c2b1 100644 --- a/KeysetTest.h +++ b/KeysetTest.h @@ -301,9 +301,9 @@ void PerlinNoiseTest (int Xbits, int Ybits, printf("Testing %i coordinates (L%i) : \n", xMax * yMax, inputLen); - for(int x = 0; x < xMax; x++) { + for(uint64_t x = 0; x < xMax; x++) { memcpy(key, &x, inputLen); // Note : only works with Little Endian - for (int y=0; y < yMax; y++) { + for (size_t y=0; y < yMax; y++) { hashtype h; Hash_Seed_init (hash, y); hash(key, inputLen, y, &h); diff --git a/README.md b/README.md index c2cc088c..ec8ea71e 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ SMhasher | [MeowHash32low](doc/MeowHash32low.txt) | 17374.64 | 85.48 | 258.53 (2) |1764 | Sparse, machine-specific (x64 AES-NI) | | -------------------------------------- | | | | | | | [tifuhash_64](doc/tifuhash_64.txt) | 35.60 | 1679.52 |1212.75 (15)| 276 | Cyclic low32 | -| [floppsyhash](doc/floppsyhash.txt) | 35.72 | 1868.92 |1411.07 (7) | 623 | | +| [floppsyhash](doc/floppsyhash.txt) | 35.72 | 1868.92 |1411.07 (7) | 623 | | | [chaskey](doc/chaskey.txt) | 753.23 | 153.42 | 288.26 (2) |1609 | PerlinNoise | | [SipHash](doc/SipHash.txt) | 980.88 | 127.77 | 246.19 (4) |1071 | | | [HalfSipHash](doc/HalfSipHash.txt) | 755.78 | 114.47 | 243.72 (4) | 700 | zeroes | diff --git a/main.cpp b/main.cpp index db114777..d1626ff0 100644 --- a/main.cpp +++ b/main.cpp @@ -1658,7 +1658,6 @@ void test ( hashfunc hash, HashInfo* info ) if (g_testExtra) { result &= PerlinNoise( hash, 4, testCollision, testDistribution, g_drawDiagram ); result &= PerlinNoise( hash, 8, testCollision, testDistribution, g_drawDiagram ); - result &= PerlinNoise( hash,16, testCollision, testDistribution, g_drawDiagram ); } if(!result) printf("*********FAIL*********\n");