Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

use a collection that allows more efficient inserting of pairs into source chains #35

Closed
thedavidmeister opened this issue Jun 21, 2018 · 0 comments · Fixed by #136
Closed

Comments

@thedavidmeister
Copy link
Contributor

currently we insert new pairs at the start of a vector, which is O(n)

other collection types can do O(1) or O(log n) for inserts

https://doc.rust-lang.org/std/collections/#sequences

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant