<commit_before>use stdlib::value::{Value, VUndefined, ResultValue, to_value};
use std::gc::Gc;

/// Create a new boolean
pub fn make_boolean(_:Vec<Value>, _:Value, _:Value, this:Value) -> ResultValue {
	Ok(box VUndefined)
}
/// Create a new `Boolean` object
pub fn _create(global: Value) -> Value {
	let boolean = to_value(make_boolean);
	boolean
}
/// Initialise the global object with the `Error` object
pub fn init(global:Value) {
	let global_ptr = global.borrow();
	global_ptr.set_field_slice("Boolean", _create(global));<commit_msg>Allocate a box in Boolean on the GC instead of the heap<commit_after>use stdlib::value::{Value, VUndefined, ResultValue, to_value};
use std::gc::GC;

/// Create a new boolean
pub fn make_boolean(_:Vec<Value>, _:Value, _:Value, this:Value) -> ResultValue {
	Ok(box(GC) VUndefined)
}
/// Create a new `Boolean` object
pub fn _create(global: Value) -> Value {
	let boolean = to_value(make_boolean);
	boolean
}
/// Initialise the global object with the `Boolean` object
pub fn init(global:Value) {
	let global_ptr = global.borrow();
	global_ptr.set_field_slice("Boolean", _create(global));
{'fraction_non_alphanumeric': 0.13903743315508021, 'fraction_numerical': 0.0, 'mean_word_length': 5.52906976744186, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '6511016', 'n_tokens_mistral': 367, 'n_tokens_neox': 368, 'n_words': 110}