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

make sure keep_words is a set #28

Merged
merged 2 commits into from
Nov 22, 2019
Merged

make sure keep_words is a set #28

merged 2 commits into from
Nov 22, 2019

Conversation

dellison
Copy link
Collaborator

Passing in a large vector of words to load a specific vocabulary can make the load times quite long. This change just makes sure that checking membership in keep_words is fast by using a set, but without adding any type restrictions to the user-facing load_embeddings.

@codecov-io
Copy link

codecov-io commented Nov 21, 2019

Codecov Report

Merging #28 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   96.77%   96.77%           
=======================================
  Files           4        4           
  Lines          93       93           
=======================================
  Hits           90       90           
  Misses          3        3
Impacted Files Coverage Δ
src/Embeddings.jl 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6232141...e2dad12. Read the comment docs.

@oxinabox
Copy link
Member

Seems legit.
Bump version so I can tag release?

@oxinabox oxinabox merged commit 65390f1 into master Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants