Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 8
  1. Hot path optimization: unsafe pointer arithmetic to eliminate bound checks the Go compiler can't remove, given you can prove they are truly unnecessary.

  2. An alignment quirk on Intel and AMD CPUs: keeping a Go array 8-byte aligned (vs offset 4) makes clearing it up to 49% faster, thanks to how REP STOSQ works.

  3. A counterintuitive hot-path optimization from my Go work: swapping integer division (IDIVQ) for floating-point division (DIVSD) to divide integers faster.

  4. A practical tour of compression in Go web servers: static assets, dynamic content, shared dictionaries, training, and streaming.

  5. How a change to one Go function slowed unrelated code by 3%.

  6. Lessons from porting Brotli to pure Go.

  7. Notes on setting up an LVM dm-cache volume on Linux.

  8. Performance notes on reusing the body of an outgoing http.Request without redundant allocations and copies in Go middleware.