The (mostly) tech related musings of Pat Eyler. Ruby, Erlang, Haskell, Scala, Ocaml, Publishing, and more ...
Your url doesn't show in netnewswire and points to a locked down page regardless.
this has been fixed. thanks for pointing it out.
Your intro for optimizing ruby spawned an interesting thought. You could make performance into a unit test using bm. Then as you optimize, you could tell when you had done enough. Also, if you added something later that "broke" performance, you would know immediately.
good point, but hard to do in practice given the wide scope of performance numbers you're likely to see for the same code on different machines.I'd love to see a harness for performance measurement that could be run as easily as unit tests though.
Post a Comment