Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6885

.NET: Binary serialization performance: eliminate virtual calls on hot path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • platforms

    Description

      BinaryReader and BinaryWriter use IBinaryStream interface, which causes lots of virtual calls on every primitive read/write.

      Find out if we can force the JIT to specialize generated code for different implementations by making all IBinaryStream implementations struct and making reader/writer generic.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ptupitsyn Pavel Tupitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: