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. Co-authored-by: Antonio <antonio@zed.dev>
Thorsten Ball committed on 1/24/2024, 9:38:38 AMparentc0b9f0a
1 file changedLine totals unavailable