3 ms·
Discussed this in a comment on lobste.rs https://lobste.rs/s/ljlmid/life_times_abstract_syntax_tree#c_y39zvi https://lobste.rs/s/ljlmid/life_times_abstract_synt
by dist1ll 2y ago
Discussed this in a comment on lobste.rs https://lobste.rs/s/ljlmid/life_times_abstract_syntax_tree#c_y39zvi https://lobste.rs/s/ljlmid/life_times_abstract_syntax_tree#c...
tl:dr; use indices in Rust, they work pretty well, and proper use of the type-system helps with reducing overhead without sacrificing safety.