oss_src/sframe/groupby.hpp
hash_bucket_container(
    size_t num_buckets,
    comparator_type comparator = std::less<value_type>()
    ) {
    sarray_sink.reset(new sink_type());
    sarray_sink->open_for_write(num_buckets);
    for (size_t i = 0; i < num_buckets; ++i) {
      buckets.push_back(new hash_bucket<value_type>(buffer_size, sarray_sink, i, comparator));
    }
  }
/// Constructs a container with n buckets, and a comparator for sorting the values.
Constructs a container with n buckets, and a comparator for sorting the values.
Constructs a container with n buckets and a comparator for sorting the values .
hash_bucket_container(
    size_t num_buckets,
    comparator_type comparator = std::less<value_type>()
    ) {
    sarray_sink.reset(new sink_type());
    sarray_sink->open_for_write(num_buckets);
    for (size_t i = 0; i < num_buckets; ++i) {
      buckets.push_back(new hash_bucket<value_type>(buffer_size, sarray_sink, i, comparator));
    }
  }
hash_bucket_container ( size_t num_buckets , comparator_type comparator = std :: less < value_type > ( ) ) { sarray_sink . reset ( new sink_type ( ) ) ; sarray_sink -> open_for_write ( num_buckets ) ; for ( size_t i = 0 ; i < num_buckets ; ++ i ) { buckets . push_back ( new hash_bucket < value_type > ( buffer_size , sarray_sink , i , comparator ) ) ; } }
Constructs a container with n buckets, and a comparator for sorting the values.
Constructs a container with n buckets and a comparator for sorting the values .