Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4712

Improve Performance of ShortStack

    XMLWordPrintableJSON

Details

    • Patch

    Description

      ShortStack.java
      /**
       * ShortStack is a short-specific Stack implementation written for the express
       * purpose of very fast operations on TCompactProtocol's field id stack. This
       * implementation performs at least 10x faster than java.util.Stack.
       */
      

      If speed is really important here, the ShortStack can be improved event a bit more.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 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