# Array broadcasting slower than numpy?

**URL:** <https://discourse.julialang.org/t/array-broadcasting-slower-than-numpy/82212>\
**Category:** Performance\
**Created:** [June 3, 2022, 8:33pm UTC](https://discourse.julialang.org/t/array-broadcasting-slower-than-numpy/82212 "2022-06-03T20:33:44Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [June 4, 2022, 7:22am UTC](https://discourse.julialang.org/t/array-broadcasting-slower-than-numpy/82212/22 "2022-06-04T07:22:03Z")

</div>

> [@gustaphe](#):
>
> While we’re optimizing, you could try making `m` an `Int` by writing it the same way you did in Python (and can we maybe have `1E7` or something be an integer in Julia 2.0?)

```julia
julia> 10^7 + 19 isa Int
true

```

[Previous page](https://discourse.julialang.org/t/array-broadcasting-slower-than-numpy/82212.md?page=1)
