HomePhabricator

rust-nodemap: abstracting the indexing

Authored by gracinet.

Description

rust-nodemap: abstracting the indexing

In the forthcoming mutable implementation, we'll have to visit
node trees that are more complex than a single slice, although
the algorithm will still be expressed in simple indexing terms.

We still refrain using #[inline] indications as being
premature optimizations, but we strongly hope the compiler will
indeed inline most of the glue.

Differential Revision: https://phab.mercurial-scm.org/D7792

Details

Committed
gracinetDec 26 2019, 9:47 AM
Differential Revision
D7792: rust-nodemap: abstracting the indexing
Parents
rHGe52401a95b94: rust-nodemap: NodeMap trait with simplest implementation
Branches
Unknown
Tags
Unknown