Skip to content

Next day Quote by Peter Seibel

“I would send out some contests. “Here's some code. Here's the benchmark. Make it fast.” I sent our load balancer's header parsing. We were all writing crazy regexps that didn't backtrack and tried to capture things with the most efficient capture groups. And we were all competing, getting faster…” quote by Peter Seibel
Download Open image
““I would send out some contests. “Here's some code. Here's the benchmark. Make it fast.” I sent our load balancer's header parsing. We were all writing crazy regexps that didn't backtrack and tried to capture things with the most efficient capture groups. And we were all competing, getting faster and faster and faster. Then one guy comes over the next day. He had written it all in C++ with XS, and so he was like, “I win.””

Peter Seibel

About This Quote

Source Blog post: “The Art of Code Competition”, 2005

Competitive coding drives performance improvements, but sometimes simpler solutions win.

In simple terms: Coding contests spur optimization.

Key Takeaway

Leverage competition to improve code.

Themes

competition optimization collaboration

Mood

enthusiastic reflective

Type

narrative lesson

When to use this quote

  • load balancer development
  • benchmarking
  • team challenges

Key Concepts

software engineering performance tuning programming culture

Questions to Reflect On

  • How to keep code maintainable while optimizing?
  • What incentives foster healthy competition?
A Different Perspective

Focus on readability may be sacrificed.

4.4 out of 5 (4 ratings)

More by Peter Seibel

Explore all 22 Peter Seibel quotes

More Next day quotes

Browse all 1,849 Next day quotes