You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>open("/tmp/a.bson.zstd", "w") do fd
stream =ZstdCompressorStream(fd)
BSON.@save(stream, x ="abcd"^4096)
close(stream)
end
julia>open("/tmp/a.bson.zstd", "r") do fd
stream =ZstdDecompressorStream(fd)
display(BSON.load(stream))
close(stream)
end
Dict{Symbol, Any} with 1 entry::x=>"abcdabcd…shell> ls -lah /tmp/a.bson.zstd-rw-r--r-- 1 coder coder 34 Feb 13 15:47 /tmp/a.bson.zstd
Can I save a compressed BSON file?
such as using CodecZstd.jl ?
e.g. Pandas has a parameter
compression='infer'
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html
The text was updated successfully, but these errors were encountered: