[JBoss JIRA] (ISPN-7234) SuccessfulResponse can be marshalled more efficiently
by Radim Vansa (JIRA)
Radim Vansa created ISPN-7234:
---------------------------------
Summary: SuccessfulResponse can be marshalled more efficiently
Key: ISPN-7234
URL: https://issues.jboss.org/browse/ISPN-7234
Project: Infinispan
Issue Type: Enhancement
Reporter: Radim Vansa
Assignee: Radim Vansa
With recent marshalling improvements, null is marshalled efficiently (I guess this is why the marshalling uses extra boolean), so we can remove the boolean and save one byte for each response.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7233) Simplify Hot Rod server operation dispatching
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-7233?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-7233:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-7233) Simplify Hot Rod server operation dispatching
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-7233?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-7233:
-----------------------------------
Status: Open (was: New)
> 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)
8 years, 1 month