Skip to content

Commit

Permalink
broadcast: disable nospecialize logic for outer method signature
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vtjnash authored and N5N3 committed Nov 30, 2021
1 parent 6d42bdd commit 49e6d72
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 99 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ Standard library changes
* TCP socket objects now expose `closewrite` functionality and support half-open mode usage ([#40783]).
* Intersect returns a result with the eltype of the type-promoted eltypes of the two inputs ([#41769]).
* `Iterators.countfrom` now accepts any type that defines `+`. ([#37747])
* `Some`containers now support broadcast as zero dimensional immutable containers. `Some(x)`
should be preferred to `Ref(x)` when you wish to exempt `x` from broadcasting ([#35778]).

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

0 comments on commit 49e6d72

Please sign in to comment.