Skip to content

Use prefix first for comparisons, resort to data buffer for remaining data on equal valuesΒ #7744

@Dandandan

Description

@Dandandan

I think we can also improve the non-inlined case with prefixes in the views, I will create an issue about it later.

Originally posted by @Dandandan in #7731 (comment)

I think we should be able to do most comparisons based on the prefix (4 bytes), rather than looking in the databuffer.
If the values are the same, we can look into the databuffer and compare the rest of the bytes.
This should avoid fetching most of the data, only for the comparisons that have equal 4 bytes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions