<commit_before>#include <vector>

template <typename T>
std::vector<T> esieve(const T &n) {
    auto primes = std::vector<T>(n, 0);

    for (T i = 2; i < n; ++i) {
        if (primes[i] != 0) {continue;}

        for (T j = i; j < n; j += i) {
            primes[j] = i;
        }
    }

    return primes;
}<commit_msg>Sieve of Eratosthenes: minor style changes<commit_after>#include <vector>

template <typename T>
std::vector<T> esieve(const T &n) {
    auto xs = std::vector<T>(n, 0);

    for (T i = 2; i < n; ++i) {
        if (xs[i] != 0) continue;

        for (T j = i; j < n; j += i) {
            xs[j] = i;
        }
    }

    return xs;
}
{'fraction_non_alphanumeric': 0.18223583460949463, 'fraction_numerical': 0.009188361408882083, 'mean_word_length': 2.0277777777777777, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 11, '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': '7170325', 'n_tokens_mistral': 274, 'n_tokens_neox': 255, 'n_words': 77}