recgen: Remove debug output
This commit is contained in:
parent
2977f50539
commit
8114068ca7
|
@ -124,8 +124,6 @@ public:
|
||||||
// uniformly from the set of keys, instead of from the set of
|
// uniformly from the set of keys, instead of from the set of
|
||||||
// all possible records.
|
// all possible records.
|
||||||
|
|
||||||
// TODO : need a correction factor for the probability that unique secondary seeds collide in the record generation
|
|
||||||
|
|
||||||
// Calculate target number of unique records.
|
// Calculate target number of unique records.
|
||||||
double target_unique = num_records * (1 - duplicate_fraction);
|
double target_unique = num_records * (1 - duplicate_fraction);
|
||||||
|
|
||||||
|
@ -207,7 +205,6 @@ public:
|
||||||
|
|
||||||
if (need_bits < 127) {
|
if (need_bits < 127) {
|
||||||
// Use this number of bits per record.
|
// Use this number of bits per record.
|
||||||
printf("use bits = %f\n", need_bits - 1 + need_bits_frac16 / 16.0);
|
|
||||||
m_bits_per_record = need_bits;
|
m_bits_per_record = need_bits;
|
||||||
m_highbit_threshold =
|
m_highbit_threshold =
|
||||||
exp((63 + need_bits_frac16 / 16.0) * M_LN2);
|
exp((63 + need_bits_frac16 / 16.0) * M_LN2);
|
||||||
|
@ -216,7 +213,6 @@ public:
|
||||||
// We need so many random bits that nobody will notice
|
// We need so many random bits that nobody will notice
|
||||||
// if we just use a uniform distribution of records.
|
// if we just use a uniform distribution of records.
|
||||||
// So let's do that.
|
// So let's do that.
|
||||||
printf("use uniform\n");
|
|
||||||
m_make_duplicates = false;
|
m_make_duplicates = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue