Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Message Object Model
    • Labels:
      None

      Description

      The reusable message object pool will be used by a decoder to reuse existing message objects instead of recreating messages.

      ReusableMessageObjectPool messagePool = new ReusableMessageObjectPool();
      FastDecoder decoder = new FastDecoder(context, in);
      decoder.setMessageFactory(messageFactory);
      Message message = decoder.readMessage();
      process(message);
      messagePool.reuse(message);

      This should decrease Unnecessary Object Creation and dramatically increase decoder performance.

        Attachments

          Activity

            People

            • Assignee:
              jacob_northey Jacob Northey
              Reporter:
              jacob_northey Jacob Northey
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: