Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-170

Scalable Iterator for files, better than FileUtils.iterateFiles

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 1.4
    • 3.x
    • Utilities
    • None
    • generic file systems

    Description

      Improve the way that iterateFiles generate an iterator. The current way it not scale. It's try to add all files in a list and then return the iterator of that list. A better way it would be create an customize Iterator<File> with a stack of arrays of File to go up and down in the directory tree.

      Attachments

        1. real_iterators.patch
          4 kB
          Matthew Flaschen

        Activity

          People

            Unassigned Unassigned
            dnoseda Damian Noseda
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5h
                5h
                Remaining:
                Time Spent - 1h Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - 1h Remaining Estimate - 4h
                1h