about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2024-08-25 04:35:58 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2024-08-25 04:35:58 +0300
commit7bd3ca102d372c67dcad90322eaf83631f9c4b41 (patch)
tree5a7d7dbbbf6c5d89a2686f88cf2d2c09b32d1c76 /tests/codegen/patchable-function-entry
parenta074e1abbb7094fe1c744c2b733868dfe661fedc (diff)
downloadrust-7bd3ca102d372c67dcad90322eaf83631f9c4b41.tar.gz
rust-7bd3ca102d372c67dcad90322eaf83631f9c4b41.zip
Don't enable the search fast path for short associated functions when a search scope is set
In most places where we set a search scope it is a single file, and so the fast path will actually harm performance, since it has to search for aliases in the whole project.
The only exception that qualifies for the fast path is SSR (there is an exception that don't qualify for the fast path as it search for `use` items). It sets the search scope to avoid dependencies. We could make it use the fast path, but I didn't bother.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions