Vladimir Ozerov created IGNITE-4702:
---------------------------------------
Summary: Optimize BinaryMarshaller field reading in case all object fields are of fixed size
Key: IGNITE-4702
URL:
https://issues.apache.org/jira/browse/IGNITE-4702 Project: Ignite
Issue Type: Task
Components: general
Reporter: Vladimir Ozerov
Fix For: 2.0
In order to get field position within {{BinaryObject}} we do the following:
1) Lookup schema
2) Get field order
3) Find field position in order
4) Jump to the field
If all object fields have fixed length, then it's body will always be of the same size, and relative field positions will be constant. This also applicable to objects having only some fields of known size, if these fields are on the head positions.
We can add this information to schema and modify lookup routine as follows:
1) Lookup schema
2) Get field position by field ID immediately
4) Jump to the field
This will save us from footer lookups thus decreasing overall field lookup time. It could be especially important for queries.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)