java.io.Data*Stream optimizations

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.2
    • Affects Version/s: 1.2.0, 1.3.0
    • Component/s: core-libs
    • mantis
    • generic
    • generic
    • Verified

      The various read and write methods in DataInputStream and DataOutputStream
      mostly read and write one byte at a time. This is quite expensive and
      should be eliminated.

      Serialization and RMI make heavy use of these methods. The total real time
      for a network round-trip of a small Hashtable of text items was reduced by
      16% in a small test of mine once the (attached) patch was applied.

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Adrian Colley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: