Ruby 1.9 doesn't smoke Python away!

November 28, 2007

Antonio Cangiano compared execution time of recursive Fibonacci function written in Python and Ruby 1.9 and found that Ruby variant was almost 3 times as fast. It allowed him to write blog entry titled "Holy Shmoly, Ruby 1.9 smokes Python away!". It's time to show secret Python weapon – calculation of same Fibonacci numbers but in 1000 times faster than Antonio's Ruby implementation.

Autogenerated ToC

November 24, 2007

When I reread my last blog post "WebAlchemy accelerates Django in 100 times" I realized that I wrote too many letters. So to make navigation easy I created simple template filter that extracts from a text ids, replaces '_' with spaces and produces hyperlinked Table of Contents.