ZIm/crates/collab_ui/src
Piotr Osiewicz 5dc26c261d
util: Use GlobSet in PathMatcher (#13197)
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: 51404d4ea0


https://github.com/zed-industries/zed/assets/24362066/e0aa9f8c-aae6-4348-8d42-d20bd41fcd76

versus this PR:


https://github.com/zed-industries/zed/assets/24362066/408dcab1-cee2-4c9e-a541-a31d14772dd7



Release Notes:

- Improved performance in large worktrees
2024-06-18 16:12:24 +02:00
..
chat_panel util: Use GlobSet in PathMatcher (#13197) 2024-06-18 16:12:24 +02:00
collab_panel Support very large channel membership lists (#11939) 2024-05-16 20:02:25 -06:00
notifications Pull app / OS info out of GPUI, add Linux information, make fallible window initialization (#12869) 2024-06-11 11:43:12 -07:00
channel_view.rs Add excerpts into outline panel (#13034) 2024-06-14 12:03:16 +03:00
chat_panel.rs ui: Use PopoverMenu::new for constructing PopoverMenus (#13178) 2024-06-17 18:14:37 -04:00
collab_panel.rs Reduce DB load upon initial connection due to channel loading (#12500) 2024-05-30 13:02:55 -07:00
collab_titlebar_item.rs ui: Use PopoverMenu::new for constructing PopoverMenus (#13178) 2024-06-17 18:14:37 -04:00
collab_ui.rs Fix issues where screen and window sizes contained Pixels, but were declared as DevicePixels (#12991) 2024-06-13 10:48:37 -07:00
face_pile.rs Adjust names of negated style methods (#11453) 2024-05-06 13:56:25 -04:00
notification_panel.rs Refactor workspace notifications to use explicit NotificationId type (#10342) 2024-04-10 17:21:23 -04:00
notifications.rs Add stories for collab notifications (#3967) 2024-01-08 21:54:59 -05:00
panel_settings.rs Add the ability for extensions to provide language settings (#10296) 2024-04-08 19:17:12 -04:00