Skip to content

Releases: BioJulia/MemoryViews.jl

v0.3.7

09 Feb 18:55

Choose a tag to compare

Various internal bugfixes

v0.3.6

09 Feb 18:53
cefb989

Choose a tag to compare

  • Allow indexing with UInt range (#29)
  • Add optimised fill!(::MutableMemoryView{UInt8}, ::UInt8) (#30)

v0.3.5

08 Oct 11:54
5831d46

Choose a tag to compare

0.3.5

  • Add method MemoryKind{::Type{<:MemoryView}}
  • Add package extension for LibDeflate.jl

v0.3.4

15 Sep 12:20
f1e33d4

Choose a tag to compare

Add new function unsafe_from_parts to construct a memory view from a MemoryRef.

v0.3.3

09 Sep 08:07
c898b17

Choose a tag to compare

New features

  • Add a new split_each function, 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

12 Jun 07:35
5684e8d

Choose a tag to compare

New features

  • FixedSizeArrays.jl is now supported through an extension

Other changes

  • Various small bugfixes and optimisations

v0.3.1

06 Mar 16:11

Choose a tag to compare

Various bugfixes.

v0.3.0

06 Mar 16:10
efad7bc

Choose a tag to compare

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 from lastindex(mem).
    Now, searching from an index before the first valid index throws a BoundsError.
    Findfirst searching from i > lastindex(mem), and findlast searching from
    i < 1 will still simply return nothing, just like searching vectors.

Other changes

  • Add optimised versions of findprev and findlast, searching bytes
  • Add optimised version of find*(iszero, bytes) methods
  • Add optimised generic find* methods
  • Add functions split_first, split_last, split_at and split_unaligned
  • Add a more correct implementation of Base.mightalias for memory views and
    some types of arrays

v0.2.2

18 Nov 09:19

Choose a tag to compare

  • Add the constructors MemoryView{T}(x) and MemoryView{T, M}(x), allowing e.g. ImmutableMemoryView{UInt8}(x). These will succeed if x is backed by memory of eltype T.
  • Add a method for Iterators.reverse(::MemoryView)

v0.2.1

18 Nov 09:14

Choose a tag to compare

  • Add methods reverse and reverse!
  • Add methods Base.cmp
  • Various bugfixes