~/talk

Miles to Go: Golang for Competitive Programming?

Talkat GopherCon 2024 · 2024-07-07..07-10· [go]
links:none on file
slides:none on file

Compares concrete trade-offs: uses the Go testing package to implement a benchmark harness (main_test.go) for LeetCode 350 (array intersection), generates inputs sized from 1 to 1,000,000 with 20% intersection, runs at least 10 iterations per case and measures iterations, average time, and allocations with go test benchmark and benchstat comparisons. Finds platform/compiler support spotty, standard library lacks DSA helpers, and the 1,000,000-case shows the previously fastest approach becomes about 25% slower.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.