lonboard
lonboard copied to clipboard
Enable arrow-js-ffi (under feature flag?)
Maybe we should have some (non-public) way to serialize options from Python to JS? E.g. in this case whether to use arrow-js-ffi.
Should probably verify that .free does in fact work: https://github.com/kylebarron/parquet-wasm/issues/591#issuecomment-2353772203
@kylebarron AFAIK .free doesn't work for ParquetFile but it seems to work for RecordBatch. Testing some more.
https://gist.github.com/pellicceama/395e5a2fa7d6a579517874a72c01ba44
Here's the output of this script
Initial memory post loading wasm 1.5625 MB
File instance created, memory = 1.625 MB
Stream created, memory = 1.625 MB
File instance freed, memory = 1.625 MB
Memory 10 seconds after freeing file instance = 1.625 MB
➜ wasm-memory