This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Remove one-segment-skipping from Dex trigrams.
ClosedPublic

Authored by sammccall on Oct 4 2018, 6:39 AM.

Details

Summary

Currently queries like "ab" can match identifiers like a_yellow_bee.
The value of allowing this for exactly one segment but no more seems dubious.
It costs ~3% of overall ram (~9% of posting list ram) and some quality.

Diff Detail

Event Timeline

sammccall created this revision.Oct 4 2018, 6:39 AM
ioeric accepted this revision.Oct 4 2018, 6:57 AM

lgtm

clangd/index/dex/Trigram.cpp
38–39

This can be removed now?

This revision is now accepted and ready to land.Oct 4 2018, 6:57 AM
This revision was automatically updated to reflect the committed changes.
sammccall marked an inline comment as done.