Closed james-bird closed 2 years ago
Time-to-first-cine is painful with the current read
implementation - this puts a lot of burden on the compiler
read(f::IOStream, S::Type{T}) where {T<:BinaryData} = S(read.(Ref(f), S.types)...)
@time cf8 = CineFile(joinpath("data", "8bpp.cine"))
# ==> 46.165358 seconds (13.20 M allocations: 593.282 MiB, 0.53% gc time, 99.97% compilation time)
...but let's merge this and work on improving it
…k levels and reading of setup header file.