Timeline for Why are nested loops considered bad practice?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 30, 2019 at 11:24 | comment | added | jgmjgm | One of the reasons labels tend to be suspect is because there's often an alternative. In this case you could return instead. | |
May 31, 2013 at 3:30 | history | edited | 9000 | CC BY-SA 3.0 |
deleted 1 characters in body
|
May 24, 2013 at 11:43 | vote | accept | Force444 | ||
May 23, 2013 at 23:51 | history | edited | 9000 | CC BY-SA 3.0 |
added hauling a value from out of the loops.
|
May 23, 2013 at 22:16 | comment | added | 9000 | Yes, GPU does this in a massively-parallel way; the question was about a single thread of execution, I suppose. | |
May 23, 2013 at 21:04 | comment | added | Travis Pessetto | Just as a side note graphics use an algorithm that has to access every piece of a matrix. However, the GPU is specialized to handle this in a time-efficient way. | |
May 23, 2013 at 20:43 | history | answered | 9000 | CC BY-SA 3.0 |