<commit_before>package js

import (
	"bytes"
	"fmt"
	"strconv"
	"unsafe"
)

func printSize(name string, size uintptr) {
	fmt.Println(name, size, float64(size)/8, float64(size)/64)
}

func init() {
	printSize("AST", unsafe.Sizeof(AST{}))
	printSize("Module", unsafe.Sizeof(Module{}))
	printSize("Scope", unsafe.Sizeof(Scope{}))

	printSize("BlockStmt", unsafe.Sizeof(BlockStmt{}))
	printSize("BranchStmt", unsafe.Sizeof(BranchStmt{}))
	printSize("LabelledStmt", unsafe.Sizeof(LabelledStmt{}))
	printSize("ReturnStmt", unsafe.Sizeof(ReturnStmt{}))
	printSize("IfStmt", unsafe.Sizeof(IfStmt{}))
	printSize("WithStmt", unsafe.Sizeof(WithStmt{}))
	printSize("DoWhileStmt", unsafe.Sizeof(DoWhileStmt{}))
	printSize("WhileStmt", unsafe.Sizeof(WhileStmt{}))
	printSize("ForStmt", unsafe.Sizeof(ForStmt{}))
	printSize("ForInStmt", unsafe.Sizeof(ForInStmt{}))
	printSize("ForOfStmt", unsafe.Sizeof(ForOfStmt{}))
	printSize("SwitchStmt", unsafe.Sizeof(SwitchStmt{}))
	printSize("ThrowStmt", unsafe.Sizeof(ThrowStmt{}))
	printSize("TryStmt", unsafe.Sizeof(TryStmt{}))
	printSize("DebuggerStmt", unsafe.Sizeof(DebuggerStmt{}))
	printSize("EmptyStmt", unsafe.Sizeof(EmptyStmt{}))
	printSize("ImportStmt", unsafe.Sizeof(ImportStmt{}))
	printSize("ExportStmt", unsafe.Sizeof(ExportStmt{}))
	printSize("ExprStmt", unsafe.Sizeof(ExprStmt{}))

	printSize("BindingArray", unsafe.Sizeof(BindingArray{}))
	printSize("BindingObject", unsafe.Sizeof(BindingObject{}))

	printSize("VarDecl", unsafe.Sizeof(VarDecl{}))
	printSize("FuncDecl", unsafe.Sizeof(FuncDecl{}))
	printSize("ClassDecl", unsafe.Sizeof(ClassDecl{}))
	printSize("MethodDecl", unsafe.Sizeof(MethodDecl{}))

	printSize("GroupExpr", unsafe.Sizeof(GroupExpr{}))
	printSize("ArrayExpr", unsafe.Sizeof(ArrayExpr{}))
	printSize("ObjectExpr", unsafe.Sizeof(ObjectExpr{}))
	printSize("TemplateExpr", unsafe.Sizeof(TemplateExpr{}))
	printSize("NewExpr", unsafe.Sizeof(NewExpr{}))
	printSize("NewTargetExpr", unsafe.Sizeof(NewTargetExpr{}))
	printSize("ImportMetaExpr", unsafe.Sizeof(ImportMetaExpr{}))<commit_msg>JS: update<commit_after>package js

import (
	"bytes"
	"fmt"
	"strconv"
	"unsafe"
)

func printSize(name string, size uintptr) {
	fmt.Println(name, "\t", size, float64(size)/8)
}

func init() {
	printSize("AST      ", unsafe.Sizeof(AST{}))
	printSize("Module   ", unsafe.Sizeof(Module{}))
	printSize("Scope    ", unsafe.Sizeof(Scope{}))

	printSize("BlockStmt", unsafe.Sizeof(BlockStmt{}))
	printSize("BranchStmt", unsafe.Sizeof(BranchStmt{}))
	printSize("LabelledStmt", unsafe.Sizeof(LabelledStmt{}))
	printSize("ReturnStmt", unsafe.Sizeof(ReturnStmt{}))
	printSize("IfStmt    ", unsafe.Sizeof(IfStmt{}))
	printSize("WithStmt", unsafe.Sizeof(WithStmt{}))
	printSize("DoWhileStmt", unsafe.Sizeof(DoWhileStmt{}))
	printSize("WhileStmt", unsafe.Sizeof(WhileStmt{}))
	printSize("ForStmt", unsafe.Sizeof(ForStmt{}))
	printSize("ForInStmt", unsafe.Sizeof(ForInStmt{}))
	printSize("ForOfStmt", unsafe.Sizeof(ForOfStmt{}))
	printSize("SwitchStmt", unsafe.Sizeof(SwitchStmt{}))
	printSize("ThrowStmt", unsafe.Sizeof(ThrowStmt{}))
	printSize("TryStmt", unsafe.Sizeof(TryStmt{}))
	printSize("DebuggerStmt", unsafe.Sizeof(DebuggerStmt{}))
	printSize("EmptyStmt", unsafe.Sizeof(EmptyStmt{}))
	printSize("ImportStmt", unsafe.Sizeof(ImportStmt{}))
	printSize("ExportStmt", unsafe.Sizeof(ExportStmt{}))
	printSize("ExprStmt", unsafe.Sizeof(ExprStmt{}))

	printSize("BindingArray", unsafe.Sizeof(BindingArray{}))
	printSize("BindingObject", unsafe.Sizeof(BindingObject{}))

	printSize("VarDecl", unsafe.Sizeof(VarDecl{}))
	printSize("FuncDecl", unsafe.Sizeof(FuncDecl{}))
	printSize("ClassDecl", unsafe.Sizeof(ClassDecl{}))
	printSize("MethodDecl", unsafe.Sizeof(MethodDecl{}))

	printSize("GroupExpr", unsafe.Sizeof(GroupExpr{}))
	printSize("ArrayExpr", unsafe.Sizeof(ArrayExpr{}))
	printSize("ObjectExpr", unsafe.Sizeof(ObjectExpr{}))
	printSize("TemplateExpr", unsafe.Sizeof(TemplateExpr{}))
	printSize("NewExpr", unsafe.Sizeof(NewExpr{}))
	printSize("NewTargetExpr", unsafe.Sizeof(NewTargetExpr{}))
	printSize("ImportMetaExpr", unsafe.Sizeof(ImportMetaExpr{}))
{'fraction_non_alphanumeric': 0.18734733756717148, 'fraction_numerical': 0.002442598925256473, 'mean_word_length': 9.978552278820375, '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': '6659920', 'n_tokens_mistral': 1391, 'n_tokens_neox': 1454, 'n_words': 176}