<commit_before>#!/bin/bash

cd freetype-2.9.1
./autogen.sh
emconfigure ./configure --host=asmjs --build=$(uname -m)
emmake make
emcc -I ./include -o ../freetype.o ../freetype.c
emcc -O3 --llvm-lto 1 -s ALLOW_MEMORY_GROWTH=1 -s 'EXTRA_EXPORTED_RUNTIME_METHODS=[\"writeArrayToMemory\"]' -s WASM=0 -s NO_EXIT_RUNTIME=1 -s AGGRESSIVE_VARIABLE_ELIMINATION=1 -s NO_DYNAMIC_EXECUTION=1 --memory-init-file 0 -s NO_FILESYSTEM=1 -s ../freetype.o objs/.libs/libfreetype.a -o ../freetype.js
<commit_msg>Explicitly export used functions<commit_after>#!/bin/bash

cd freetype-2.9.1
./autogen.sh
emconfigure ./configure --host=asmjs --build=$(uname -m)
emmake make
emcc -I ./include -o ../freetype.o ../freetype.c
emcc -O3 --llvm-lto 1 -s ALLOW_MEMORY_GROWTH=1 -s 'EXTRA_EXPORTED_RUNTIME_METHODS=["writeArrayToMemory", "malloc", "free"]' -s WASM=0 -s NO_EXIT_RUNTIME=1 -s AGGRESSIVE_VARIABLE_ELIMINATION=1 -s NO_DYNAMIC_EXECUTION=1 --memory-init-file 0 -s NO_FILESYSTEM=1 -s ../freetype.o objs/.libs/libfreetype.a -o ../freetype.js

{'fraction_non_alphanumeric': 0.16322517207472959, 'fraction_numerical': 0.02359882005899705, 'mean_word_length': 3.941747572815534, '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': '5229869', 'n_tokens_mistral': 457, 'n_tokens_neox': 435, 'n_words': 89}