tursodatabase/turso

Feature: per-connection memory allocator configuration

Open

#523 opened on Dec 20, 2024

View on GitHub
 (5 comments) (2 reactions) (0 assignees)Rust (1,001 forks)github user discovery
enhancementhelp wantedimprovements

Repository metrics

Stars
 (19,103 stars)
PR merge metrics
 (PR metrics pending)

Description

I have a use case where I want to specify a custom allocator per connection. (The general form of the use case is to specify an arena allocator for an object that opens its own connection. This occurs in a process that is long lived [an application in my case] and that may spawn multiple concurrent instances/connections.)

In SQLite you can configure a custom allocator at the process level, but not per connection.

Contributor guide