lantern
lantern copied to clipboard
Use proper palloc-based memory allocator in usearch
Currently usearch code uses the default allocator (malloc-based)
We should use palloc to make sure all memory is manged through postgres
We can do that by adding a field to usearch_init
that will take a custom allocation function and will build a custom default allocator on it in usearch code