Users now can control the eltype of PaddedView using PaddedView{T}(fillvalue, data, ...). If T is not provided, it infers the appropriate type from fillvalue and data using filltype, which is the previous behavior.
However, it's expected that the benchmark is not optimistic if we're abusing the usage:
Continues #25 and #26
Users now can control the eltype of PaddedView using
PaddedView{T}(fillvalue, data, ...)
. IfT
is not provided, it infers the appropriate type fromfillvalue
anddata
usingfilltype
, which is the previous behavior.However, it's expected that the benchmark is not optimistic if we're abusing the usage:
UInt -> Int
:Int -> UInt
:P.S., Is there anything we can do inside this package to reduce the timing difference between
collect(A)
andcollect(B)
?