rocicorp / repc

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

Use Vec<8> instead of string for ChangedKeys #343

Open arv opened 3 years ago

arv commented 3 years ago

All the way to the RPC barrier, at which point we turn the Vec to a String.

arv commented 3 years ago

I could not get this to share the underlying [u8] and using RC seems overkill for this.

I think if I refactor prolly::Map::flush to return the pending changed keys maybe I can get the ownership working.