Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6692

DataSerializer.readString can be optimized for zero length strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • serialization

    Description

      DataSerializer.readString still allocates an instance of String when the string being deserialized is an empty string. If instead it just returned the canonical "" it would save some object allocations.

      Attachments

        Issue Links

          Activity

            People

              dschneider Darrel Schneider
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m