Skip to content
This repository was archived by the owner on Jan 12, 2020. It is now read-only.

Commit 8d69b03

Browse files
committed
Add links to all issues and add missing word
1 parent 2221732 commit 8d69b03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

blog/_posts/2016-03-27-arrays-iteration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ set the latter problem on fire.
156156

157157
Some possible new `AbstractArray` types pose novel challenges.
158158

159-
## `ReshapedArrays` (#15449)
159+
## `ReshapedArrays` ([#15449](https://github.com/JuliaLang/julia/pull/15449))
160160

161161
These are the front-and-center motivation for this post. These are
162162
motivated by a desire to ensure that `reshape(A, dims)` always returns
@@ -174,7 +174,7 @@ problem is that computing the correct `k,l,m` might result in a call
174174
to `div`. So ReshapedArrays violate a crutch of our current ecosystem,
175175
in that indexing with `N` integers might not be the fastest way to
176176
access elements of `B`. From a performance perspective, this problem
177-
is substantial (see #15449, about five- to ten-fold).
177+
is substantial (see [#15449](https://github.com/JuliaLang/julia/pull/15449), about five- to ten-fold).
178178

179179
In simple cases, there's an easy way to circumvent this performance
180180
problem: define a new iterator type that (internally) iterates over
@@ -185,8 +185,8 @@ has "ideal" performance.
185185
Unfortunately, this strategy runs into a lot of trouble when you need
186186
to keep two arrays in sync: if you want to adopt this strategy, you
187187
simply can't write `B[i,j]*v[j]` for matrix-vector multiplication
188-
anymore. A potential way around *this* problem is define a new class
189-
of iterators that operate on specific dimensions of an array (#15459),
188+
anymore. A potential way around *this* problem is to define a new class
189+
of iterators that operate on specific dimensions of an array ([#15459](https://github.com/JuliaLang/julia/pull/15459)),
190190
writing `B[ii,jj]*v[j]`. `jj` (whatever that is) and `j` need to be
191191
in-sync, but they don't necessarily need to both be integers. Using
192192
this kind of strategy, matrix-vector multiplication
@@ -237,8 +237,8 @@ bases---it might be convenient to support row-major arrays, where
237237
instead `A[i,j]` and `A[i,j+1]` are in adjacent memory locations. More
238238
fundamentally, this is partially related to one of the most
239239
commented-on issues in all of julia's development history, known as
240-
"taking transposes seriously" aka #4774. There have been at least two
241-
attempts at implementation, #6837 and the `mb/transpose` branch, and
240+
"taking transposes seriously" aka [#4774](https://github.com/JuliaLang/julia/issues/4774). There have been at least two
241+
attempts at implementation, [#6837](https://github.com/JuliaLang/julia/pull/6837) and the `mb/transpose` branch, and
242242
for the latter a summary of benefits and challenges was [posted](https://github.com/JuliaLang/julia/issues/4774#issuecomment-149349751).
243243

244244
One of the biggest challenges mentioned was the huge explosion of

0 commit comments

Comments
 (0)