<commit_before><commit_msg>Implemented bitcount static array<commit_after>package util;

public class Bitcount {
	
	private static int[] bitCountArray;
	
	static {
		bitCountArray = new int[1 << 10];
		
		for(int i = 0; i < (1 << 10); i++) {
			bitCountArray[i] = bitCountCalc(i);
		}
	}
	
	public static int bitCountCalc(int val) {
		   return Integer.bitCount(val);
	}
	
	public static int getBitCount(int mask) {
		return bitCountArray[mask];
	}
}
{'fraction_non_alphanumeric': 0.12222222222222222, 'fraction_numerical': 0.015555555555555555, 'mean_word_length': 3.902173913043478, 'pattern_counts': {'":': 0, '<': 8, '<?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': '6164125', 'n_tokens_mistral': 177, 'n_tokens_neox': 152, 'n_words': 40}