[infinispan-issues] [JBoss JIRA] (ISPN-7233) Simplify Hot Rod server operation dispatching
Tristan Tarrant (JIRA)
issues at jboss.org
Thu Nov 24 09:05:00 EST 2016
Tristan Tarrant created ISPN-7233:
-------------------------------------
Summary: Simplify Hot Rod server operation dispatching
Key: ISPN-7233
URL: https://issues.jboss.org/browse/ISPN-7233
Project: Infinispan
Issue Type: Task
Components: Server
Affects Versions: 9.0.0.Alpha4
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.0.0.Beta1
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
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list