facebookresearch / faiss

A library for efficient similarity search and clustering of dense vectors.
https://faiss.ai
MIT License
31.63k stars 3.65k forks source link

Reduce duplication in make_direct_map. #3991

Closed ttsugriy closed 3 weeks ago

ttsugriy commented 1 month ago

Summary: it's more concise and reduces chances of accidental out-of-sync branch issues

Differential Revision: D64979108

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64979108