XStream
  1. XStream
  2. XSTR-29

HierarchicalStreamReader should be able to lazily read

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.5
    • Component/s: IO
    • Labels:
      None

      Description

      Currently all implementations of HierarchicalStreamReader) have read the entire stream up front before being passed to the converters. This is because of a flaw in the design of the interface.

      This causes a lot of unnecessary overhead (both in memory and performance) and XStream starts to chug when deserializing larger documents.

      The interface should be modified so the underlying stream can be read incrementally, converting to objects as it goes.

        People

        • Assignee:
          Joe Walnes
          Reporter:
          Joe Walnes
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: