Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7233

Simplify Hot Rod server operation dispatching

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 9.0.0.Beta1
    • 9.0.0.Alpha4
    • Server
    • None

    Description

      The Hot Rod server decoder/encoder use cumbersome switch and cascading if/then/else statements to dispatch the various commands.
      The decoder should use a quick array lookup based on the incoming opcode.
      The encoder should use a table switch to perform the correct operation.
      Avoid using polymorphism which loses inlining

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: