Skip to content

gui_toolkit 0.79.0

Choose a tag to compare

@sachahjkl sachahjkl released this 05 Nov 06:54
· 107 commits to master since this release
v0.79.0
e78c897

Added

  • ui.find_sweep, ui.find_all, ui.find_pending, ui.find_refresh: a find in page over a lazy column reads everything once for a needle (when it rests 80 ms, and again if what is built no longer answers), and stays lazy between: lazy_begin(all = find_sweep()). In opencode native, a frame while finding 40 -> 1.7 ms on a conversation of 150 answers.

Changed

  • Text cut with an ellipsis: where it is cut is kept (by text, font, size and width): it was measured rune by rune at every frame, through the shaper. A frame at rest in opencode native 1.65 -> 1.10 ms.

Fixed

  • render.pace_frame waits for the frame's slot, after the swap chain and only what is left of it: Frame_Decision.wait_ns was worked out and not made, so nothing capped the frames of a screen that does not hold the app back. platform.precise_sleep: a wait under the system's tick.