Menu Sidebar
Menu

performance

Some universal code optimization rules

From time to time I have advocated for design approaches which value consistency and ease of change over raw operations per second. I realize that this strategy makes some programmers uncomfortable. So I thought I’d document some guidelines for optimizing your code.

Speed up RightAWS by Enabling libxml

So I was profiling our app the other day and discovered it was spending a significant amount of time in REXML. “REXML?” I thought. “Who uses REXML in 2009?” For anyone who doesn’t know, REXML is Ruby’s standard pure-Ruby XML parser. It’s advantage is that it’s always available. It’s disadvantages include being very, very slow […]

Virtuous Code

"The three virtues of a programmer: laziness, impatience, and hubris" — Larry Wall

Books and Screencasts

RubyTapas Screencasts

RubyTapas Screencasts

Small plates of gourmet Ruby code.

Confident Ruby

Confident Ruby cover

32 Patterns for joyful coding.

The Making of Cowsays.com

Confident Ruby cover

Watch me build an app in Sinatra and Rails

Objects on Rails

Objects on Rails

A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.

Exceptional Ruby

Exceptional Ruby

The definitive guide to exceptions and failure handling in Ruby.

Archives

Categories