![]() # Objective - Avoid cloning the `CosmicBuffer` every time you create a new text measurement. ## Solution - Inject a buffer query when calculating layout so existing buffers can be reused. ## Testing - I tested the `text`, `text_debug`, and `text_wrap_debug` examples. - I did not do a performance test. |
||
---|---|---|
.. | ||
layout | ||
render | ||
widget | ||
accessibility.rs | ||
focus.rs | ||
geometry.rs | ||
lib.rs | ||
measurement.rs | ||
node_bundles.rs | ||
picking_backend.rs | ||
stack.rs | ||
texture_slice.rs | ||
ui_material.rs | ||
ui_node.rs | ||
update.rs |