From: tadayoshi funaba Date: 2011-03-02T21:01:30+09:00 Subject: [ruby-core:35414] [Ruby 1.9 - Feature #4257] [Closed] switch_hitter - an acceleration of date library Issue #4257 has been updated by tadayoshi funaba. Status changed from Open to Closed ---------------------------------------- Feature #4257: switch_hitter - an acceleration of date library http://redmine.ruby-lang.org/issues/4257 Author: tadayoshi funaba Status: Closed Priority: Low Assignee: tadayoshi funaba Category: ext Target version: switch_hitter'ed already passed nearly all of tests (except some tests of class name and some confirmations of format of inspect). * The constructors may return Date::Light instead of Date. * as fast as home_run when it represents simple date of proleptic gregorian of the age of the human race. * keeps compatibility. - can load ruby 1.9.2 dumped marshal. * accepts flonum explicitly with limitations. - If the given offset is flonum, DateTime assumes its precision is at most second. - If the given +/- argument is flonum, DateTime assumes its precision is at most nanosecond. I'd like to apply this to trunk in the near future. I also have a plan of improvement about some format methods. see also http://redmine.ruby-lang.org/issues/show/4068 -- http://redmine.ruby-lang.org