Skip to content

Conversation

@dconeybe
Copy link
Contributor

@dconeybe dconeybe commented Sep 3, 2024

Replace std::vector with std::deque so that erasing the first element does not incur O(n) cost, as when erasing the entire vector this inefficiency results in O(n^2) cost. Googlers see b/364354267 and cl/671065694 for details.

The port to JS and Android is tracked by b/365092047 (only Googlers can see this)

@dconeybe dconeybe self-assigned this Sep 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants