]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/s-fixint.h
Much better decisions on radix sorter parameters.
[libucw.git] / lib / sorter / s-fixint.h
index a36be558fbf3897af6f91448ae8fc02185b1c326..2eca66fff2f14054dc444c0ecbbe34239e46fb24 100644 (file)
@@ -57,3 +57,9 @@ static int P(internal)(struct sort_context *ctx, struct sort_bucket *bin, struct
 
   return (n == maxkeys);
 }
+
+static u64
+P(internal_estimate)(struct sort_context *ctx, struct sort_bucket *b UNUSED)
+{
+  return ctx->big_buf_half_size;
+}