Nikita Amelchev created IGNITE-29312:
----------------------------------------

             Summary: Reduce the cost of feature gate checks in message 
serialization
                 Key: IGNITE-29312
                 URL: https://issues.apache.org/jira/browse/IGNITE-29312
             Project: Ignite
          Issue Type: Improvement
            Reporter: Nikita Amelchev
            Assignee: Nikita Amelchev


IgniteMessageSerializationContext resolves every feature gate check through a 
map lookup by component name. includeRawFields() is checked for every message 
on write and on read, and each field deprecated or introduced by a feature adds 
its own check, so the lookup ends up on the hot path of cache operations. The 
checks should not cost a map lookup per message field.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to