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

BinaryMarshaller should write ints in "varint" encoding where it makes sense

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0
    • 3.0
    • binary

    Description

      There are a lot of places in the code where we write integers for some special purposes. Quite often their value will be vary small, so that applying "varint" format could save a lot of space at the cost of very low additional CPU overhead.

      Specifically:
      1) Array/collection/map lengths
      2) BigDecimal's (usually will save ~6 bytes)
      3) Strings
      4) Enum ordinals

      Attachments

        Issue Links

          Activity

            People

              daradurvs Vyacheslav Daradur
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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