Revision d6bcb5a66292f7468fb40fadb8b1e846b758e06a authored by Michael Krabbe Borregaard on 31 January 2019, 19:53:37 UTC, committed by Matt Bauman on 31 January 2019, 19:53:37 UTC
* Fallback for copying views into sparse matrices

* SparseArray --> SparseVecOrMat

* move copy method to sparsevector

* use the union explicitly
1 parent 0b0a394
Raw File
write_base_cache.jl
# Write the sys source cache in format readable by Base._read_dependency_src
cachefile = ARGS[1]
open(cachefile, "w") do io
    for (_, filename) in Base._included_files
        src = read(filename, String)
        write(io, Int32(sizeof(filename)))
        write(io, filename)
        write(io, UInt64(sizeof(src)))
        write(io, src)
    end
    write(io, Int32(0))
end
back to top