Backport #1812
backport r22303
| Status: | Closed | Start date: | 07/24/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | Ruby 1.8.8 |
Description
please backport r22303 to ruby 1.8 series. The test code makes loading time.rb x2 slower.
Associated revisions
* lib/time.rb, test/test_time.rb: Move test code to a separate
file to save memory and compile time. [Bug #1812]
History
Updated by Akinori MUSHA over 2 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r24265.
Updated by Akinori MUSHA over 2 years ago
- Status changed from Closed to Open
- % Done changed from 100 to 0
JFYI, another way to avoid the problem of this kind is to use __END__ and DATA. cf. generator.rb, set.rb, etc.
Updated by Akinori MUSHA over 2 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100