Releases: BioJulia/MemoryViews.jl
Releases · BioJulia/MemoryViews.jl
v0.3.7
v0.3.6
v0.3.5
0.3.5
- Add method
MemoryKind{::Type{<:MemoryView}} - Add package extension for LibDeflate.jl
v0.3.4
Add new function unsafe_from_parts to construct a memory view from a MemoryRef.
v0.3.3
New features
- Add a new
split_eachfunction, which iterates over memory views delimited
by a single element delimiter.
Other changes
- Add some more fast methods for Memory/Vector/MemoryView interop
- Add a fast method for
Base.readbytes!reading into a memory view
v0.3.2
New features
- FixedSizeArrays.jl is now supported through an extension
Other changes
- Various small bugfixes and optimisations
v0.3.1
Various bugfixes.
v0.3.0
Breaking changes
- Change the bounds checking behaviour of the find* functions to match those of
Vector. In particular, previously,findnext(pred, mem, -5)would be
equivalent to searching from index 1, and similarly,findprev(pred, mem, lastindex(mem) + 10)would be equialent to searching fromlastindex(mem).
Now, searching from an index before the first valid index throws aBoundsError.
Findfirst searching fromi > lastindex(mem), and findlast searching from
i < 1will still simply returnnothing, just like searching vectors.
Other changes
- Add optimised versions of
findprevandfindlast, searching bytes - Add optimised version of
find*(iszero, bytes)methods - Add optimised generic
find*methods - Add functions
split_first,split_last,split_atandsplit_unaligned - Add a more correct implementation of
Base.mightaliasfor memory views and
some types of arrays
v0.2.2
- Add the constructors
MemoryView{T}(x)andMemoryView{T, M}(x), allowing e.g.ImmutableMemoryView{UInt8}(x). These will succeed ifxis backed by memory of eltypeT. - Add a method for
Iterators.reverse(::MemoryView)
v0.2.1
- Add methods
reverseandreverse! - Add methods
Base.cmp - Various bugfixes