libsql-js icon indicating copy to clipboard operation
libsql-js copied to clipboard

consider moving the deserialization code from the main thread to the workers

Open zen0wu opened this issue 1 year ago • 0 comments

in here, https://github.com/tursodatabase/libsql-js/blob/1df5a35989c93ba9000a7facdf6dd726d73c702f/src/statement.rs, we're blocking the JS main thread for deserializing the native values, ideally we could make it happen on worker threads to free some cycles from the JS thread to do something else.

zen0wu avatar May 03 '24 22:05 zen0wu