From: Jeremy Evans Date: 2010-09-10T01:20:04+09:00 Subject: Re: ANN: home_run 0.9.1 Released Roger Pack wrote: >> home_run is an implementation of ruby's Date/DateTime classes in C, >> with much better performance (20-200x) than the version in the >> standard library, while being almost completely compatible. > > So is this faster/equal to http://third-base.rubyforge.org and > http://github.com/rtomayko/date-performance It's faster than both. third_base was written by me in pure ruby. It's not as compatible or as fast as home_run, and only provides the 1.8 API. It usually gives a 2-10x speedup over the 1.8 standard library version. home_run is faster than Date::Performance, even in the cases where Date::Performance is used, and Date::Performance only handles a subset of Date's functionality (and none of DateTime's). In general, Date::Performance is faster than third_base for the cases it handles, and slower for the cases it does not. There are a few reasons why home_run is faster, but it's mostly due to the use of a different data structure and faster algorithms. Jeremy -- Posted via http://www.ruby-forum.com/.