Feature #10508
closed
Return enumerator in TSort iterators
Added by ptico (Andrey Savchenko) about 10 years ago.
Updated about 3 years ago.
Description
Return an Enumerator if no block is given for:
- TSort.tsort_each
- TSort.each_strongly_connected_component
- TSort.each_strongly_connected_component_from
Files
- Assignee set to akr (Akira Tanaka)
Unnecessary Enumerator slows the performance down.
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset ruby-trunk:r48584.
- lib/tsort.rb: Returns an enumerator if no block is given.
[ruby-core:66270] [Feature #10508] Proposed by Andrey Savchenko.
- Project changed from 14 to Ruby master
- Target version deleted (
Ruby 2.2.0)
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0