JLD.jl
JLD.jl copied to clipboard
Saving and loading julia variables while preserving native types
We are running a program to parse many ascii files. We want to identify the keywords of such ascii files and to compare the keywords of some files with the...
``` using JLD abstract A{T} n = Nullable{A}() save("/tmp/bad.jld", Dict("nullable" => n)) d = load("/tmp/bad.jld") save("/tmp/bad2.jld", d) ``` fails for me with the error ``` ERROR: LoadError: KeyError: key Nullable{A{T}}...
It seems like the file is opened in "w" mode and thereby other variables saved in the same file are lost. Is there any reason why this is preferable to...
Under my configuration, there is a memory leak when loading a JLD file with multiple arrays. I wrote a [script](https://gist.github.com/jipolanco/3fd2bb462f1381e779f1c8440608f062) which can help test the issue. The issue is observed...
I often find myself doing this ``` JLD.exists(f, nm) && JLD.delete!(f, nm) JLD.write(f, nm, data) ``` It would be great to have that simple step in a method `write!`. Would...
It would be really nice if JLD could support Saving into an IOBuffer. FileIO suggests that the code bellow would be how it is done. However that code just hangs...
[jldTimings.zip](https://github.com/JuliaLang/JLD.jl/files/239036/jldTimings.zip) When loading an array with DateTimes with the load() function the loading times increase over time. The same does not happen when loading an array of floats. Attached are...
this might be related to [issues/158](https://github.com/JuliaIO/HDF5.jl/issues/158) I'm currently working on simulation program and using JLD for logging. but while analysing log data, I found strange behavior with JLD. That same...
Hi, It seems there is a way to break type saving/loading, if you do multiple writes of a suitably complex type: The MWE I could create is: ``` using JLD...
I encountered a weird error while writing some julia code for my project and distilled the essence of it as the code below. What it does is basically to read...