Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21d8ea8ea6ca40c

Jump to content

Talk:Loop interchange

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 2 years ago by AltoStev in topic another example of loop interchange

The two code fragments are swapped at the beginning of the article, incurring great confusion. The result of the "loop interchange" transform is where the column index loop is the inner-most loop. Because in the C language the arrays are row major, and hence elements in the same row are consequtive in memory, hence we must reduce the number of transitions between ROWS as much as possible, meaning that we would like to make the row index loop the outermost.

Agreed. Anyone disagree? Crt389 (talk) 21:48, 15 November 2009 (UTC)Reply

I agree. The two code fragments need to be swapped. —Preceding unsigned comment added by Anantpur (talkcontribs) 10:23, 23 November 2009 (UTC)Reply

another example of loop interchange

[edit]

https://stackoverflow.com/a/11227902  AltoStev (talk) 14:07, 14 November 2023 (UTC)Reply