rocicorp / repc

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

scan copies the byte array too much #284

Open arv opened 3 years ago

arv commented 3 years ago

For scan we read an Uint8Array out of IDB. We copy this to a Rust Vec<u8> and then we copy that same Vec<u8> into a JS Uint8Array again before calling the receiver.