Join Nostr
2026-04-15 16:22:16 UTC

David Smith on Nostr: Refcount contention? Fighting over a cache line. Branch mispredict? Wouldn't have ...

Refcount contention? Fighting over a cache line. Branch mispredict? Wouldn't have hurt much if resolving the comparison wasn't waiting on a load. You found an approach with better computational complexity? It probably has worse memory access patterns at realistic sizes, just use an array. Fancy ECS for your game? Just syntax sugar for AoS->SoA. Compacting garbage collection overhead? Sometimes *less than zero* because it improves memory layout.

Cache rules everything around me