Skip to content

Commit

Permalink
fixed typo in performance-tips.md (#53379)
Browse files Browse the repository at this point in the history
I have ESL, but I'm quite certain in should be "repeatedly accessing it"
and not "repeated access it"
  • Loading branch information
cwittens authored Feb 18, 2024
1 parent 4505855 commit c0a93f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/performance-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ and fewer memory accesses due to caching. These are the same reasons that it is
to access arrays in column-major order (see above). Irregular access patterns and non-contiguous
views can drastically slow down computations on arrays because of non-sequential memory access.

Copying irregularly-accessed data into a contiguous array before repeated access it can result
Copying irregularly-accessed data into a contiguous array before repeatedly accessing it can result
in a large speedup, such as in the example below. Here, a matrix is being accessed at
randomly-shuffled indices before being multiplied. Copying into plain arrays speeds up the
multiplication even with the added cost of copying and allocation.
Expand Down

0 comments on commit c0a93f8

Please sign in to comment.