ZIm/crates/gpui
Thorsten Ball e01850642f
Cache font-missing result to avoid unnecessary lookups (#4245)
This fixes the performance problem we saw in
https://github.com/zed-industries/community/issues/2405.

In a trace we could see that if a font is missing we'd constantly look
it up and never cache that it's missing.

This changes that and does cache the font-is-missing result.

Drawback is that one would need to restart Zed after installing a
missing font that was configured in settings. That seems acceptable for
now, though.

Release Notes:

- Improved rendering performance when configured fonts are missing on
the system.
2024-01-24 11:07:11 +01:00
..
docs Remove some todo!'s 2024-01-09 11:36:36 +02:00
examples More adjustments for blog post 2024-01-18 07:01:46 -07:00
src Cache font-missing result to avoid unnecessary lookups (#4245) 2024-01-24 11:07:11 +01:00
tests Remove some todo!'s 2024-01-09 11:36:36 +02:00
build.rs Rebuild shader header when cbindgen sources have changed 2024-01-15 16:23:22 +01:00
Cargo.toml Remove license-file from Cargo.toml as it is apparently redundant (#4218) 2024-01-23 17:40:30 +01:00
LICENSE-APACHE chore: Add crate licenses. (#4158) 2024-01-23 16:56:22 +01:00
README.md Add barebones GPUI README (#4235) 2024-01-23 19:22:49 -05:00

GPUI

A fast, productive UI framework from the creators of [https://zed.dev].