feat: optimize index_struct copy (#442)

pull/449/head
John Wang 3 years ago committed by GitHub
parent 951afcaaed
commit cad1532f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,7 +157,7 @@ class BaseVectorIndex(BaseIndex):
documents.append(document)
origin_index_struct = self.dataset.index_struct
origin_index_struct = self.dataset.index_struct[:]
self.dataset.index_struct = None
if documents:

Loading…
Cancel
Save