mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 14:40:13 +01:00
Recursion in Rust can be annoyingly expensive. The recursive DFS implementation we have now is probably not terrible but these things bloat in debug builds more than you'd expect. This replaceas it with a non-recursive implementation which uses a Vec instead. Reviewed-by: Mel Henning <mhenning@darkrefraction.com> Reviewed-by: Lorenzo Rossi <git@rossilorenzo.dev> Reviewed-by: Mary Guillemard <mary@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37536> |
||
|---|---|---|
| .. | ||
| proc | ||
| .clang-format | ||
| .rustfmt.toml | ||
| as_slice.rs | ||
| bindings.h | ||
| bindings.rs | ||
| bitset.rs | ||
| cfg.rs | ||
| dataflow.rs | ||
| depth_first_search.rs | ||
| lib.rs | ||
| memstream.rs | ||
| meson.build | ||
| nir.rs | ||
| nir_instr_printer.rs | ||
| rust_helpers.c | ||
| rust_helpers.h | ||
| smallvec.rs | ||