<commit_before>package main

import (
	"crypto/hmac"
	"crypto/md4"
	"crypto/md5"
	"crypto/ripemd160"
	"crypto/sha1"
	"crypto/sha256"
	"crypto/sha512"
	"flag"
	"fmt"
	"hash"
	"hash/adler32"
	"hash/crc32"
	"hash/crc64"
	"hash/fnv"
	"io"
	"log"
	"os"
	"sort"
	"strings"
)

const (
	version = "1.0"
	chunkSize = 2097152 // Read files in 2MB chunks
)
<commit_msg>Read files in 32KB chunks instead of 2MB -- it actually results in better performance<commit_after>package main

import (
	"crypto/hmac"
	"crypto/md4"
	"crypto/md5"
	"crypto/ripemd160"
	"crypto/sha1"
	"crypto/sha256"
	"crypto/sha512"
	"flag"
	"fmt"
	"hash"
	"hash/adler32"
	"hash/crc32"
	"hash/crc64"
	"hash/fnv"
	"io"
	"log"
	"os"
	"sort"
	"strings"
)

const (
	version = "1.0"
	chunkSize = 32768 // Read files in 32KB chunks
)

{'fraction_non_alphanumeric': 0.16264294790343076, 'fraction_numerical': 0.07369758576874205, 'mean_word_length': 3.662721893491124, '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': '1595116', 'n_tokens_mistral': 411, 'n_tokens_neox': 375, 'n_words': 77}