Closed ExpandingMan closed 6 years ago
All done! Most unsafe methods remain in the package but are not used by default (except in presence of WeakRefString
s). Note that there will be no way of creating safe view
s until 0.7 (will require ability to reinterpret
a view).
I've been doing some research, and as it turns out it seems just as efficient to carry around the
Vector{UInt8}
array object for the data buffer itself as it is to carry around a pointer to it. Views will still have to be made with pointers andunsafe_wrap
(ideally should put this into a properSubArray
object) because of the need to reinterpret the underlying data.This change should be made as it simplifies things. Will require a fairly big overhaul.