mirror of
https://github.com/enso-org/enso.git
synced 2024-11-27 18:12:31 +03:00
1578ed093a
Fixes https://www.pivotaltracker.com/story/show/184216698 Reduced impact of node dropdown widgets on load times by deferring creation of grid views until each widget is opened. This also improves node editing time, as the dropdowns are not recreated immediately. This approach of lazy initialization now caused a significant lag when opening the dropdown. Two major causes of the lag spike is glyph generation (msdfgen, `new_glyph`) and shader compilation (happened every time, because each dropdown has unique layer stack). To reduce the impact of that, the shader compiler now caches the shaders based on generated shader source. Glyph creation hasn't been changed and is still slow. The startup performance is now roughly where it was before introducing widgets. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |