Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] using std::array in vocab for additional speed-ups #1263

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants