<commit_before>#ifndef DEFAULTS_H
#define DEFAULTS_H

#include "hash_algorithm.h"

const HashAlgorithm DEFAULT_HASH_ALGORITHM = HashAlgorithm::md5; // can be overridden by command-line option

const size_t DEFAULT_MINIMUM_BLOCK_SIZE6 =      256*1024; // arbitrary, but needs to be big enough to cope with a moderate amount of latency
const size_t DEFAULT_MAXIMUM_BLOCK_SIZE6 = 256*1024*1024; // arbitrary, but needs to be small enough we don't waste unjustifiable amounts of CPU time if a block hash doesn't match

const size_t DEFAULT_MINIMUM_BLOCK_SIZE =     256*1024; // arbitrary, latency isn't as big a problem with pipelining, but this sets the point at which we stop re-hashing and send rows
const size_t DEFAULT_MAXIMUM_BLOCK_SIZE = 64*1024*1024; // arbitrary, but needs to be small enough we don't waste unjustifiable amounts of CPU time if a block hash doesn't match<commit_msg>reduce min block size target for p7, the balance shifts now that we pipeline<commit_after>#ifndef DEFAULTS_H
#define DEFAULTS_H

#include "hash_algorithm.h"

const HashAlgorithm DEFAULT_HASH_ALGORITHM = HashAlgorithm::md5; // can be overridden by command-line option

const size_t DEFAULT_MINIMUM_BLOCK_SIZE6 =      256*1024; // arbitrary, but needs to be big enough to cope with a moderate amount of latency
const size_t DEFAULT_MAXIMUM_BLOCK_SIZE6 = 256*1024*1024; // arbitrary, but needs to be small enough we don't waste unjustifiable amounts of CPU time if a block hash doesn't match

const size_t DEFAULT_MINIMUM_BLOCK_SIZE =      16*1024; // arbitrary, latency isn't as big a problem with pipelining, but this sets the point at which we stop re-hashing and send rows
const size_t DEFAULT_MAXIMUM_BLOCK_SIZE = 64*1024*1024; // arbitrary, but needs to be small enough we don't waste unjustifiable amounts of CPU time if a block hash doesn't match
{'fraction_non_alphanumeric': 0.053833605220228384, 'fraction_numerical': 0.0413268080478521, 'mean_word_length': 4.993485342019544, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2076285', 'n_tokens_mistral': 589, 'n_tokens_neox': 519, 'n_words': 234}