Tag

Notes tagged “optimization”

Every note filed under optimization, newest first.

A filtered view of the notes.

2026

  1. With the Grain

    The original turned a big integer into bytes one byte at a time, fighting the machine. The rewrite went with its grain — whole machine words, packed in C. That structural choice is why it's still ~15× faster fifteen years on, even as CPython sped up underneath it.

Type to search · ↑↓ to move · ↵ to open · Esc to close