-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Discussed in #75
Originally posted by dano1066 July 11, 2025
I see we have a new method to serialize/deserialize to binary stream but its still the same json call under the hood. It's taking 3-4 seconds to load an index of around 4000 records for me at the moment. Not terrible but problematic. I was wondering if we could bypass the libraries built in serialization and use proto buffers to serialize the instance of the index/sharpvector in memory. This way, I could quickly switch between databases without the cost of the current cold start. Is it something anyone has tried. I pulled a fork of the code and gave it to a bot to pull apart to see if there would be any issues doing it and it did say it wouldnt work because not everything is designed to be serialized like this but I am not sure if that means everything needs to be or just the important parts?