[
https://issues.apache.org/jira/browse/IGNITE-29312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Amelchev resolved IGNITE-29312.
--------------------------------------
Resolution: Fixed
Merged into the master.
[~alexpl] , Thank you for the review.
> 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
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)