Structs§
- Files
Index - FilesIndex contains paths that can be efficiently looked up with (prefix, suffix) pairs.
- Search
Path - Search
Path File - The obvious implementation of
SearchPath::filesis aVec<PathBuf>. But it is searched repeatedly byfind_library_crate, and the searches involve checking the prefix and suffix of the filename of eachPathBuf. This is doable, but very slow, because it involves calls tofile_nameandextensionthat are themselves slow.