# Big overhead with the new lazy reshape/reinterpret

**URL:** <https://discourse.julialang.org/t/big-overhead-with-the-new-lazy-reshape-reinterpret/7635>\
**Category:** Internals & Design\
**Created:** [December 8, 2017, 8:02pm UTC](https://discourse.julialang.org/t/big-overhead-with-the-new-lazy-reshape-reinterpret/7635 "2017-12-08T20:02:20Z")\
**Posts on this page:** 1\
**Showing post:** 32

<div class="post-metadata">

**Author:** ![pablosanjose](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pablosanjose/32/7006_2.png) [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Post date:** [August 18, 2018, 12:47am UTC](https://discourse.julialang.org/t/big-overhead-with-the-new-lazy-reshape-reinterpret/7635/32 "2018-08-18T00:47:59Z")

</div>

Keno’s updated PR #28707 has just been merged! As of 8 hours ago, v1.1.0-DEV shows this

```julia
julia> using StaticArrays, BenchmarkTools
julia> a = rand(3, 10^4); b = reshape(reinterpret(SVector{3, Float64}, a), (size(a, 2),))
julia> @btime $b[5][2];
  1.347 ns (0 allocations: 0 bytes)

```

---

_[View the full topic](https://discourse.julialang.org/t/big-overhead-with-the-new-lazy-reshape-reinterpret/7635)._
