Boost.Sort
|
#include <boost/sort/spreadsort/spreadsort.hpp>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include <vector>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
Macros | |
#define | DATA_TYPE boost::uint64_t |
#define | ALR_THRESHOLD 3 |
Functions | |
void | fill_vector (vector< DATA_TYPE > &input, const DATA_TYPE base_value, unsigned remaining_bits, const vector< unsigned > &indices, int index) |
unsigned | get_index (unsigned count) |
int | main (int, const char **) |
Variables | |
const unsigned | max_count = ALR_THRESHOLD - 1 |
const unsigned | bit_shift |
const unsigned | radix_threshold = detail::rough_log_2_size(max_count) + 1 |
const DATA_TYPE | typed_one = 1 |
#define ALR_THRESHOLD 3 |
#define DATA_TYPE boost::uint64_t |
void fill_vector | ( | vector< DATA_TYPE > & | input, |
const DATA_TYPE | base_value, | ||
unsigned | remaining_bits, | ||
const vector< unsigned > & | indices, | ||
int | index | ||
) |
unsigned get_index | ( | unsigned | count | ) |
int main | ( | int | , |
const char ** | |||
) |
const unsigned bit_shift |
const unsigned max_count = ALR_THRESHOLD - 1 |
const unsigned radix_threshold = detail::rough_log_2_size(max_count) + 1 |
const DATA_TYPE typed_one = 1 |