realm-core icon indicating copy to clipboard operation
realm-core copied to clipboard

RCORE-2064 String EQ/NEQ optimisations for compressed strings

Open nicola-cab opened this issue 8 months ago • 2 comments

What, How & Why?

Optimize query/search with EQ/NE

String translation to StringID (interned string ID) is currently done for each array search. This PR is to move the translation up the call chain, such that it is done only once for a column.

Note: Even if a string has not been interned, it may still be present in leaf arrays which have not been interned (interned and non-interned leafs may coexist within a column)

nicola-cab avatar Jun 18 '24 17:06 nicola-cab