Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

parmeet
Copy link
Contributor

@parmeet parmeet commented Mar 23, 2021

We replace container type of stoi_ from std::vector to std::array. This bring in slight additional improvements in look-up speed

@parmeet parmeet changed the title using std::array in vocab for additional speed-ups [WIP] using std::array in vocab for additional speed-ups Mar 23, 2021
@joecummings
Copy link
Member

@Nayef211 Is this still relevant? If so, might be worth cleaning up quickly and merging for the speedup.

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.

3 participants