tursodatabase/turso

Feature: per-connection memory allocator configuration

Open

#523 aperta il 20 dic 2024

Vedi su GitHub
 (5 commenti) (2 reazioni) (0 assegnatari)Rust (1001 fork)github user discovery
enhancementhelp wantedimprovements

Metriche repository

Star
 (19.103 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor