-
Baselet.$f
provides a possibly-optimized version of$f
exported fromBase
(e.g.,Baselet.sort(::Tuple)
). -
Baselet.Specialized.$f
provides a function$f
with a subset of API fromBase.$f
that is guaranteed to have optimized specializations (e.g.,Baselet.Specialized.sort(::Tuple)
). -
Baselet.$f
fallbacks toBase.$f
if associatedBaselet.Specialized.$f
is not found. For example,Baselet.sort(::Vector)
just callsBase.sort(::Vector)
.
The list of supported functions can be found by typing
Baselet.Specialized.
+ TAB in the REPL:
julia> using Baselet
julia> Baselet.Specialized.
accumulate cumprod findall flatten isdisjoint sort
all cumsum findfirst foreach issubset symdiff
any enumerate findlast getindex maximum union
argmax extrema findmax in minimum unique
argmin filter findmin intersect setdiff zip