BSONMmap.jl

Extensions to BSON.jl
Author AStupidBear
Popularity
4 Stars
Updated Last
3 Years Ago
Started In
October 2019

Add mmap support to to BSON.jl

Build Status Coverage

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