codex
Loading...
Searching...
No Matches
bench.cpp File Reference
#include "bench.hpp"
#include <random>
#include <sstream>
#include "bsearch.hpp"
Include dependency graph for bench.cpp:

Namespaces

namespace  anonymous_namespace{bench.cpp}
 

Typedefs

using anonymous_namespace{bench.cpp}::T = int
 
using anonymous_namespace{bench.cpp}::V = std::vector<int>
 
using anonymous_namespace{bench.cpp}::I = typename V::const_iterator
 
using anonymous_namespace{bench.cpp}::bsearch_fn = bool(I, I, const T&)
 

Variables

constexpr std::array anonymous_namespace{bench.cpp}::fns = {codex::bsearch<I, I, T>, std::binary_search<I, T>}