Improve the performance when reading and writing collection from/to the disk.
The scope of this optimization is backward compatibility.
Ultimately, to improve the speed, we need to reduce the overall collection size by off loading the storage of the vectors and metadata to disk permanently.
Proposed Solution
Use bincode::serialize_into() and bincode::deserialize_from().
Purpose
Improve the performance when reading and writing collection from/to the disk. The scope of this optimization is backward compatibility.
Ultimately, to improve the speed, we need to reduce the overall collection size by off loading the storage of the vectors and metadata to disk permanently.
Proposed Solution
Use
bincode::serialize_into()
andbincode::deserialize_from()
.