<commit_before>package main

import (
  "io"
  "net/http"
)

func hello(response http.ResponseWriter, request *http.Request) {
    header := response.Header()
    header["Date"] = nil

    var text string
    var status int
    if request.URL.Path == "/" {
	status = 200
	text = "Hello world!"
    } else {
	status = 404
	text = "Not Found"
    }
    response.WriteHeader(status)
    io.WriteString(response, text)
}

func main() {
    http.HandleFunc("/", hello)
    http.ListenAndServe("0.0.0.0:8080", nil)
}<commit_msg>Equalent go benchmark<commit_after>package main

import "net/http"

var (
	helloResp    = []byte("Hello world!")
	notFoundResp = []byte("Not Found")
)

func hello(w http.ResponseWriter, r *http.Request) {
	if r.URL.Path != "/" {
		w.WriteHeader(http.StatusNotFound)
		w.Write(notFoundResp)
		return
	}
	w.Write(helloResp)
}

func main() {
	http.HandleFunc("/", hello)
	http.ListenAndServe("0.0.0.0:8080", nil)
}
{'fraction_non_alphanumeric': 0.15755627009646303, 'fraction_numerical': 0.023579849946409433, 'mean_word_length': 3.4903846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3712745', 'n_tokens_mistral': 365, 'n_tokens_neox': 338, 'n_words': 72}