Commit dbff71d2 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Lower quadratic iteration count in an elias-fano test

Summary: [Folly] Lower quadratic iteration count in an elias-fano test to make it take less wall time to run.

Reviewed By: philippv

Differential Revision: D14821341

fbshipit-source-id: 726fe5bd17442661196593ea6279314509622832
parent 74f41a0b
......@@ -43,7 +43,7 @@ uint8_t slowDefaultNumLowerBits(size_t upperBound, size_t size) {
TEST(EliasFanoCoding, defaultNumLowerBits) {
// Verify that slowDefaultNumLowerBits and optimized
// Encoder::defaultNumLowerBits agree.
static constexpr size_t kNumIterations = 2500;
static constexpr size_t kNumIterations = 750;
auto compare = [](size_t upperBound, size_t size) {
using Encoder = EliasFanoEncoderV2<size_t>;
EXPECT_EQ(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment