![]() Previously we were using a single globset::Glob in PathMatcher; higher
up the stack, we were then resorting to using a list of PathMatchers.
globset crate exposes a GlobSet type that's better suited for this use
case. In my benchmarks, using a single PathMatcher with GlobSet instead
of a Vec of PathMatchers with Globs is about 3 times faster with the
default 'file_scan_exclusions' values. This slightly improves our
project load time for projects with large # of files, as showcased in
the following videos of loading a project with 100k source files. This
project is *not* a git repository, so it should measure raw overhead on
our side.
Current nightly:
|
||
---|---|---|
.. | ||
chat_panel | ||
collab_panel | ||
notifications | ||
channel_view.rs | ||
chat_panel.rs | ||
collab_panel.rs | ||
collab_titlebar_item.rs | ||
collab_ui.rs | ||
face_pile.rs | ||
notification_panel.rs | ||
notifications.rs | ||
panel_settings.rs |