slint/internal
Milian Wolff 2f62c60e3c
Optimize resolve_expression to operate on a single scope vector (#6664)
Instead of cloning the vector on every iteration level, pass the
scope in and out of the visitation function and push/pop the element
there as needed. This way we can operate on a single vector that
gets moved around, which removes a few thousand memory allocations.
The speed impact is not measurable, as the code also triggers rowan
API that is much more allocation happy.

Still, I believe this patch is still merge-worthy as it also reduces
the code duplication a bit and is subjectively better, esp. from a
performance pov.
2024-10-29 11:46:04 +01:00
..
backends Add the accessible-enabled property 2024-10-25 10:20:09 +02:00
common PopupWindow: added close-policy property (#6614) 2024-10-24 09:27:39 +00:00
compiler Optimize resolve_expression to operate on a single scope vector (#6664) 2024-10-29 11:46:04 +01:00
core swrenderer: Always use an offset in the image when rednering glyphs (#6673) 2024-10-28 14:37:00 +01:00
core-macros Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
interpreter Merge the Callback and Function type 2024-10-28 14:36:30 +01:00
renderers Bump FemtoVG to 0.10.1 release that fixes scissor clip problem 2024-10-24 10:30:12 +02:00