# Objective - Reduce allocations on the UI hot path. ## Solution - Cache buffers used by the `ui_stack_system`. ## Follow-Up - `sort_by_key` is potentially-allocating. It might be worthwhile to include the child index as part of the sort-key and use unstable sort. |
||
|---|---|---|
| .. | ||
| layout | ||
| render | ||
| widget | ||
| accessibility.rs | ||
| focus.rs | ||
| geometry.rs | ||
| lib.rs | ||
| measurement.rs | ||
| node_bundles.rs | ||
| stack.rs | ||
| texture_slice.rs | ||
| ui_material.rs | ||
| ui_node.rs | ||
| update.rs | ||