blackgear / rustdoc_seeker

rustdoc-seeker parse the `search-index.js` generated by `rustdoc` and provide fast searching ability
MIT License
5 stars 4 forks source link

Maybe investigate whether storing path as Vec<Atom> / Box<[Atom]> is better than a single Atom over the whole path #11

Closed upsuper closed 6 years ago

upsuper commented 6 years ago

Using atom for each level of path should enable better sharing and thus fewer atoms globally. Also downstream would no longer need to split the path themselves.

upsuper commented 6 years ago

Played with the code a bit, and it seems using vector of parts for path wouldn't save memory, at least.