]> granicus.if.org Git - python/commitdiff
Note that LINEAR_PROBES can be set to zero.
authorRaymond Hettinger <python@rcn.com>
Sun, 22 Sep 2013 03:17:31 +0000 (20:17 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 22 Sep 2013 03:17:31 +0000 (20:17 -0700)
Objects/setobject.c

index 22d9cb35cbe5bf47915fa793770e6ea3c52bd0fe..adc99da62765d11b4c8d3fe338467fe12e7499bd 100644 (file)
@@ -43,7 +43,7 @@ PyObject *_PySet_Dummy = dummy;
 /* ======================================================================== */
 /* ======= Begin logic for probing the hash table ========================= */
 
-/* This should be >= PySet_MINSIZE - 1 */
+/* Set this to zero to turn-off linear probing */
 #ifndef LINEAR_PROBES
 #define LINEAR_PROBES 9
 #endif