Skip to content

Commit 27079c4

Browse files
committed
Inline fallbacks.
1 parent 1142cf0 commit 27079c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/map.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ function vmapntt!(
229229
end
230230

231231
# generic fallbacks
232-
vmap!(f, args...) = map!(f, args...)
233-
vmapt!(f, args...) = map!(f, args...)
234-
vmapnt!(f, args...) = map!(f, args...)
235-
vmapntt!(f, args...) = map!(f, args...)
232+
@inline vmap!(f, args...) = map!(f, args...)
233+
@inline vmapt!(f, args...) = map!(f, args...)
234+
@inline vmapnt!(f, args...) = map!(f, args...)
235+
@inline vmapntt!(f, args...) = map!(f, args...)
236236

237237
function vmap_call(f::F, vm!::V, args::Vararg{<:Any,N}) where {V,F,N}
238238
T = Base._return_type(f, Base.Broadcast.eltypes(args))

0 commit comments

Comments
 (0)