<commit_before>// Low level performance benchmarking using Go
package main

import "fmt"

func main() {
	fmt.Println("Low level performance using Go")
}
<commit_msg>added go prime num func<commit_after>// Low level performance benchmarking using Go
package main

import (
	"fmt"
	// "testing"
)

func regularArray(maxNum int) {
	var i int = 2
	var j int

	var Data = make([]bool, maxNum+1)

	for i := 2; i <= maxNum; i++ {
		Data[i] = true
		fmt.Println(i)
	}
	i = 2
	for i; i <= maxNum; i++ {
		if Data[i] {
			for j = i + i; j <= maxNum; j += i {
				Data[j] = false
			}
		}
	}
	fmt.Println(Data)
}

func main() {
	fmt.Println("Low level performance using Go")
	// t := testing.Benchmark(regularArray(100000))
	regularArray(100000)
	// fmt.Println(t)
}
{'fraction_non_alphanumeric': 0.14701986754966886, 'fraction_numerical': 0.02119205298013245, 'mean_word_length': 3.2711864406779663, 'pattern_counts': {'":': 0, '<': 6, '<?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': '1720577', 'n_tokens_mistral': 314, 'n_tokens_neox': 285, 'n_words': 88}