From: Jeremy Evans Date: 2010-09-10T02:01:34+09:00 Subject: Re: ANN: home_run 0.9.1 Released Roger Pack wrote: > >> I do plan on bringing up the possibility of replacing the stdlib version >> with home_run on the ruby-core mailing (either as is or with changes to >> increase compatibility). Currently I'm waiting to be added to the list. >> It's been a few days and no response from either the controller or admin >> address. I didn't have a problem signing up for the ruby-cvs list. > > So there's no way of "falling back" to slow operation only when somebody > performs certain operations, I guess? I suppose it's possible, but it would greatly increase the complexity. There's quite a few cases you'd have to handle, off the top of my head, at least: 1) Differences of less than a nanosecond 2) Ranges beyond those supported (more than 5 million years in the future or past) 3) Offsets with fractional minutes I wrote home_run so that it would cover all cases for 99% of rubyists. For the 1% of rubyists that need features that the current stdlib has and that home_run has not, they could still use the old stdlib version (which could be moved elsewhere in the standard lib, or made a gem), or Tadayoshi Funaba's date2 or date4 libraries (http://www.funaba.org/en/ruby.html). Jeremy -- Posted via http://www.ruby-forum.com/.