Project

General

Profile

Backport #1812

backport r22303

Added by yugui (Yuki Sonoda) over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:24535]

Description

=begin
please backport r22303 to ruby 1.8 series.

The test code makes loading time.rb x2 slower.
=end

Associated revisions

Revision 81a2573e
Added by knu (Akinori MUSHA) over 9 years ago

  • lib/time.rb, test/test_time.rb: Move test code to a separate file to save memory and compile time. [Bug #1812]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 24265
Added by knu (Akinori MUSHA) over 9 years ago

  • lib/time.rb, test/test_time.rb: Move test code to a separate file to save memory and compile time. [Bug #1812]

History

#1

Updated by knu (Akinori MUSHA) over 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r24265.
=end

#2

Updated by knu (Akinori MUSHA) over 9 years ago

  • Status changed from Closed to Open
  • % Done changed from 100 to 0

=begin
JFYI, another way to avoid the problem of this kind is to use END and DATA.

cf. generator.rb, set.rb, etc.
=end

#3

Updated by knu (Akinori MUSHA) over 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin

=end

Also available in: Atom PDF