pub(crate) fn dict_index(values: &StringArray, needle: &str) -> Option<u16>Expand description
Position of needle in a dictionary’s value array.
Linear over the dictionary, which is at most 65536 entries and in practice a few dozen. Doing it once here is what keeps the row scan off the string data entirely.