BSONMmap.jl

Extensions to BSON.jl
Author AStupidBear
Popularity
5 Stars
Updated Last
6 Months Ago
Started In
October 2019

Add mmap support to to BSON.jl

Installation

using Pkg
pkg"add BSONMmap"

Usage

using BSON, BSONMmap
dict = Dict("a" => ones(Float32, 10), Dict("b" => zeros(10)))
BSON.bson("test.bson", dict)

You can load it back using bsload

bsload("test.bson", mmaparrays = true) == dict

Or just use BSONs native load

withenv("BSON_MMAP" => true) do
    BSON.load("test.bson")
end

Required Packages