]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/array.c
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-sorter
[libucw.git] / lib / sorter / array.c
index 65a11921074c62046023e58bc3d39884c557250b..d9f5f52f3f2ecb3763ba335bb08fc2b4a95b7ec2 100644 (file)
@@ -7,7 +7,7 @@
  *     of the GNU Lesser General Public License.
  */
 
-#define LOCAL_DEBUG
+#undef LOCAL_DEBUG
 
 #include "lib/lib.h"
 #include "lib/sorter/common.h"
@@ -24,6 +24,10 @@ asort_radix(struct asort_context *ctx, void *array, void *buffer, uns num_elts,
   uns shift = (hash_bits > ctx->radix_bits) ? (hash_bits - ctx->radix_bits) : 0;
   uns cnt[buckets];
 
+#if 0
+  static int reported[64];
+  if (!reported[hash_bits]++)
+#endif
   DBG(">>> n=%d h=%d s=%d sw=%d", num_elts, hash_bits, shift, swapped_output);
 
   bzero(cnt, sizeof(cnt));