Files
oak-gpui/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
..
2024-01-09 11:36:36 +02:00
2024-01-18 07:01:46 -07:00
2024-01-09 11:36:36 +02:00
2024-01-23 19:22:49 -05:00

GPUI

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