Sqlime: Online SQLite Playground
github.com
github.com
However, the project doesn't follow best practices in the JavaScript ecosystem. The included WebAssembly (wasm) file should be fetched from npm on build time, instead of being uploaded to the project.
https://github.com/nalgeon/sqlime/blob/0bb684c/js/sqlite/sql...
It did work a few times, but it did not or was quite slow at other times.
Good idea though.
Under the hood it manipulates the CSV using pandas data frames, then finally dumps the data frame into sqlite using `dataframe.to_sql(sqlite_conn)`. I wonder how fast this is, if it has to take each row from the data frame through Python it can’t be that quick but maybe there’s something smart happening under the hood that can punch a native-to-native pathway through the Python abstractions.
I ended up writing my own in Golang since the ones I found in C and other languages didn’t use threads or did too much memory copying.