rocicorp / repc

The canonical Replicache client, implemented in Rust.
Other
30 stars 7 forks source link

Use durability relaxed for write transactions #330

Closed arv closed 3 years ago

arv commented 3 years ago

This uses extern C to expose js functions to Rust.

I ended up exposing more functions than transaction to reduce the number of allocations and conversions needed between Rust and JS.

arv commented 3 years ago

@aboodman I ended up cleaning this up a little. Now there is no more need to allocate strings during db transactions.

PTAL