Project

General

Profile

ActionsLike0

Bug #1650

closed

Time range === is slow

Added by kmeaw (Dmitry Bilunov) almost 16 years ago. Updated over 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [x86_64-linux]
Backport:
[ruby-core:23908]

Description

=begin
The following program runs N times slower in ruby19 compared to ruby18.
N depends on the input range size.

dev@rails ~ $ time ruby19 -rtime -e '(Time.now - 1000000 .. Time.now) === (Time.now - 3)'

real 0m0.723s
user 0m0.709s
sys 0m0.013s
dev@rails ~ $ time ruby18 -rtime -e '(Time.now - 1000000 .. Time.now) === (Time.now - 3)'

real 0m0.043s
user 0m0.039s
sys 0m0.005s
=end

#3

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Status changed from Open to Rejected
#5

Updated by marcandre (Marc-Andre Lafortune) over 14 years ago

  • Category changed from lib to doc
  • Status changed from Rejected to Open

Updated by naruse (Yui NARUSE) almost 14 years ago

  • Status changed from Open to Assigned
  • Assignee set to akr (Akira Tanaka)

Updated by nahi (Hiroshi Nakamura) almost 14 years ago

  • Target version set to 1.9.3

Updated by mame (Yusuke Endoh) over 13 years ago

  • Status changed from Assigned to Rejected
ActionsLike0

Also available in: Atom PDF