-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[faiss v1.7.1] Impl PreTransformIndex #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While most of the constructs were well thought out, this PreTransformIndexImpl
can be exploited to perform memory unsafety.
- Values can outlive its native objects if they are not owned.
ConcurrentIndex
is implemented even if the native index does not.
More details and guidance in the comments below.
Maybe we should not use the option when |
I mean, I suppose part of the problem would no longer apply if we require all indexes to be owned (and so |
commit 441ccebbff480592bdc8afb9be4523e7d95466f2
I won't complicate the impl. I like the transfer of ownership. |
I suggest starting with the ownership of indexes, quantizers. In the future, it will become clear whether to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
No description provided.