Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-91

StreamWriterGenerator emits overly-pessimistic sizing hints

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Resolution: Unresolved
    • None
    • None
    • Binding runtime
    • None
    • Operating System: All
      Platform: All

    Description

      StreamWriterGenerator does not actually look at the data being processed before emitting a size hint, but rather emits a very pessimistic hint based on the assumption that all fields and all possible augmentation it sees in the schema context at code generation.

      This is wrong, as it should either emit a hint based on the actual data, or send down UNKNOWN_SIZE.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: