Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reference value in resultVector To get rid of as much pointer logic as possible * Using namespace std * Applying more unique_ptr semantics * More heap cleanups * Naming conventions + cleanups * Code formatting * Formatting + getting rid of heap object (write) * Getting rid of more leaks + formatting * Getting rid of more heap memory * Getting rid of more heap memory logic + code formating * WAY better vectors logic for inserts/deletes/trainings * Removing dead code * Significant cleanup * Update sqlite-vector.cpp * Making sure we compile on mac + cleanups * Update sqlite-vss.cpp * Better error messages * Way better memory handling * Fixing array out of bounds error * Making sure we resize vector before invoking search * Update sqlite-vss.cpp * Temporary rearranging workflows to trigger build * Resetting pipelines back again * Update sqlite-vss.cpp * Update sqlite-vss.cpp * Shrinking vectors * shrink to fit for vectors * More shrink to fit * Update sqlite-vss.cpp * Update sqlite-vss.cpp * Memory leak fix * Update sqlite-vector.cpp * Update sqlite-vector.cpp * Update sqlite-vss.cpp * Minor changes * Fixing unit tests * Fixing tests * Update test-loadable.py * Update test-loadable.py * Update test-loadable.py * Update sqlite-vss.cpp * Last touches * Resetting workflow files back to original state * Removing size check If we use PCA to reduce dimensions, size check will fail. * Revert "Removing size check" This reverts commit 472308d. * Catching exceptions and returning as errors * By changing to sqlite3_create_function_v2 it returns success Changing from sqlite3_create_function to sqlite3_create_function_v2 fixes the creation of the vector0 function. It's in general a bad habit of "mixing APIs", so I guess this explains the weird bug where sqlite3_create_function wouldn't return success. * See comments 1. Changed from pointer logic to unique_ptr for range_search_result 2. Consistent usage of SQL inline in code 3. Minor code cleanups and simplifications 4. More error checking --------- Co-authored-by: thomas-hansen-resolve <[email protected]>
- Loading branch information