Skip to content

Commit ddf421a

Browse files
vtjnashN5N3
authored andcommitted
broadcast: disable nospecialize logic for outer method signature
This removes the dependence on inlining for performance, so we also remove `@inline`, since it can harm performance. make Some type a zero-dim broadcast container (e.g. a scalar) Replaces JuliaLang#35778 Replaces JuliaLang#39184 Fixes JuliaLang#39151 Refs JuliaLang#35675 Refs JuliaLang#43200
1 parent d112903 commit ddf421a

File tree

4 files changed

+132
-99
lines changed

4 files changed

+132
-99
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ Standard library changes
8383
* TCP socket objects now expose `closewrite` functionality and support half-open mode usage ([#40783]).
8484
* Intersect returns a result with the eltype of the type-promoted eltypes of the two inputs ([#41769]).
8585
* `Iterators.countfrom` now accepts any type that defines `+`. ([#37747])
86+
* `Some`containers now support broadcast as zero dimensional immutable containers. `Some(x)`
87+
should be preferred to `Ref(x)` when you wish to exempt `x` from broadcasting ([#35778]).
8688

8789
#### InteractiveUtils
8890
* A new macro `@time_imports` for reporting any time spent importing packages and their dependencies ([#41612])

0 commit comments

Comments
 (0)