-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use proper palloc-based memory allocator in usearch #147
Labels
core
Core Database
Comments
Ngalstyan4
changed the title
Write a custom palloc-based memory allocator and pass it to usearch
Use proper palloc-based memory allocator in usearch
Sep 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 codeThe text was updated successfully, but these errors were encountered: