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

Improve DataObjectStreamer/cache serialization

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • Binding runtime

    Description

      DataObjectStreamer.commonStreamList() can end up performing a lot of instanceof checks to check if the writer can perform caching. For large lists this is wasteful – we should be able to just check half of the condition just once.

      Note that the logic here is very shallow, so JIT may actually be optimizing this case very well by hoisting it. Add a benchmark to see if our investment in complicating the code by hoisting the check manually actually makes sense.

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated: