The Curious Engineer

All blogs / Go

Phil Pearl's Blog

philpearl.github.io

Recent content on Phil Pearl's Blog

GoPerformance / optimization

Posts
30 from 24 Jan 2018 to 24 Apr 2026
Posting
now and then (1 in the last year)
Kind
personal blog
Feed
https://philpearl.github.io/index.xml

2026 1

  1. Swissing a table

2024 2

  1. I stan clearing maps, no cap
  2. Dumb ways to die: Random Values in Pointers

2023 1

  1. What is a Go function variable?

2021 3

  1. Breaking Printf
  2. Faster time parsing
  3. Context

2020 5

  1. It ain't necessarily slow
  2. []byte versus io.Reader
  3. Nil versus empty slices
  4. Search for a new JSON: jsoniter
  5. Examining Evil

2019 12

  1. Rebel Go: Forking encoding/json
  2. Good Go: Contributing to encoding/json
  3. Bad Go: Adventures with JSON marshalling
  4. Bad Go: guessing
  5. Bad Go: not sizing slices
  6. Bad Go: frivolous Sprintf
  7. Bad Go: pointer returns
  8. Bad Go: slices of pointers
  9. Kubernetes' dirty endpoint secret and Ingress
  10. Go interfaces, but at what cost?
  11. JSON and embedding
  12. The why of Go strings

2018 6

  1. Further Dangers of Large Heaps in Go
  2. bytes.Buffer revisited
  3. Go in a scratch VM
  4. A container image in 60* lines of Go
  5. What’s all that memory for?
  6. GC is bad and you should feel bad