optimization

All articles tagged with "optimization"

2 Articles

Programming Languages

Rob Pike's Programming Rules Are Still Right

In 1989, Rob Pike — who would later co-create Go, UTF-8, and Plan 9 — wrote down five rules of programming. They're short enough to fit on an index card and...

James WhitfieldJames Whitfield9 min read
Programming Languages

CPU Branch Prediction: Your Code's Hidden Bottleneck

There's a famous Stack Overflow answer that's been viewed over 3 million times. The question: why is processing a sorted array faster than processing an...

James WhitfieldJames Whitfield10 min read