Hacker GitHub

← All repos

thejerf/gomempool

View on GitHub ↗ ★ 44 Go

A []byte pool for Go.

4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2014-01-08 · latest 2025-04-01

Mentions per year 4 mentions · busiest year 2014 (2)
20082026
  1. Long before sync.Pool was a thing, I wrote a pool for []bytes: https://github.com/thejerf/gomempool I haven't taken it down because it isn't obsoleted by sync.Pool because the pool is aware of the size of the []bytes. Though it may be…
    comment by jerf · 2025-04-01 · in Go Optimization Guide
  2. …I wrote something myself that hits a similar problem, but in a completely different dimension: https://github.com/thejerf/gomempool My problem was that I had an otherwise rather placid program (from an allocation perspective) that liked to…
  3. …I couldn't resist the first time in my career in which I could justify some bit bashing: https://github.com/thejerf/gomempool/blob/master/pool.go#L39... :)
    comment by jerf · 2014-01-08 · in Another go at Go failed
  4. …mempool project on github.[1] Still pretty early though, I don't think it can do dynamic sizes? [1] https://github.com/thejerf/gomempool
    comment by yelnatz · 2014-01-08 · in Another go at Go failed