<commit_before>package bpsm.edn.parser;

import java.util.Collections;
import java.util.LinkedList;

final class DefaultListFactory implements BuilderFactory {
    public CollectionBuilder builder() {
        return new CollectionBuilder() {
            LinkedList<Object> list = new LinkedList<Object>();
            public void add(Object o) {
                list.add(o);
            }
            public Object build() {
                return Collections.unmodifiableList(list);
            }
        };
    }
}<commit_msg>Use ArrayList rather than LinkedList as backing for immutable lists.<commit_after>package bpsm.edn.parser;

import java.util.ArrayList;
import java.util.Collections;

final class DefaultListFactory implements BuilderFactory {
    public CollectionBuilder builder() {
        return new CollectionBuilder() {
            ArrayList<Object> list = new ArrayList<Object>();
            public void add(Object o) {
                list.add(o);
            }
            public Object build() {
                return Collections.unmodifiableList(list);
            }
        };
    }
}
{'fraction_non_alphanumeric': 0.08574007220216606, 'fraction_numerical': 0.0, 'mean_word_length': 2.214492753623188, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6536496', 'n_tokens_mistral': 271, 'n_tokens_neox': 265, 'n_words': 71}