Files.lines() can use MemorySegment instead of a ByteBuffer

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      Hello,
      currently Files.lines() uses two different implementations depending on if the file length is > 2G or not.

      Nowadays, having CSV data file that have a length > 2G is not that rare, so i wonder if the two implementation can not be collapsed to one using a MemorySegment ?

            Assignee:
            Unassigned
            Reporter:
            Rémi Forax
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: