Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Talk:Loop interchange

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This article is ratedStart-class on Wikipedia'scontent assessment scale.
It is of interest to the followingWikiProjects:
WikiProject iconComputer science
WikiProject iconThis article is within the scope ofWikiProject Computer science, a collaborative effort to improve the coverage ofComputer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can jointhe discussion and see a list of open tasks.Computer scienceWikipedia:WikiProject Computer scienceTemplate:WikiProject Computer scienceComputer science
???This article has not yet received a rating on theproject's importance scale.
Things you can helpWikiProject Computer science with:

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.—Precedingunsigned comment added byAnantpur (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]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Talk:Loop_interchange&oldid=1237180514"
Categories:
Hidden category:

[8]ページ先頭

©2009-2026 Movatter.jp