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

optimize jaccard distance computation and the ranking #586

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarahGamdou
Copy link

  • I run a line_profiler on the ranking function and discovered that the line I modified takes 91.4 of the run time of the rank function. By modifying we can save a lot of ranking time.
  • For the Jaccard distance, the code is performing a lot of not-needed computation that is increasing the reranking time.

@L1aoXingyu
Copy link
Member

Thank you so much! I will check it later.

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.

2 participants