Searched hist:"9 f2cce2faaddd7b08af1458bf56aadaed8179a3f" (Results 1 – 6 of 6) sorted by relevance
/haiku/src/apps/deskbar/ |
H A D | ResourceSet.cpp | 9f2cce2faaddd7b08af1458bf56aadaed8179a3f Sun Apr 07 16:55:17 UTC 2013 John Scipione <jscipione@gmail.com> Eliminate repeating CountItems() loop premature micro-optimization
Loop backwards if possible, if not, set a variable and use that instead. There were a couple of instances where the loop style got changed from for (int32 i = CountItems(); --i >= 0;) to for (int32 i = CountItems() - 1; i >= 0; i--) { but should be functionally equivalent.
|
H A D | ShowHideMenuItem.cpp | 9f2cce2faaddd7b08af1458bf56aadaed8179a3f Sun Apr 07 16:55:17 UTC 2013 John Scipione <jscipione@gmail.com> Eliminate repeating CountItems() loop premature micro-optimization
Loop backwards if possible, if not, set a variable and use that instead. There were a couple of instances where the loop style got changed from for (int32 i = CountItems(); --i >= 0;) to for (int32 i = CountItems() - 1; i >= 0; i--) { but should be functionally equivalent.
|
H A D | Switcher.cpp | 9f2cce2faaddd7b08af1458bf56aadaed8179a3f Sun Apr 07 16:55:17 UTC 2013 John Scipione <jscipione@gmail.com> Eliminate repeating CountItems() loop premature micro-optimization
Loop backwards if possible, if not, set a variable and use that instead. There were a couple of instances where the loop style got changed from for (int32 i = CountItems(); --i >= 0;) to for (int32 i = CountItems() - 1; i >= 0; i--) { but should be functionally equivalent.
|
H A D | StatusView.cpp | 9f2cce2faaddd7b08af1458bf56aadaed8179a3f Sun Apr 07 16:55:17 UTC 2013 John Scipione <jscipione@gmail.com> Eliminate repeating CountItems() loop premature micro-optimization
Loop backwards if possible, if not, set a variable and use that instead. There were a couple of instances where the loop style got changed from for (int32 i = CountItems(); --i >= 0;) to for (int32 i = CountItems() - 1; i >= 0; i--) { but should be functionally equivalent.
|
H A D | BarView.cpp | 9f2cce2faaddd7b08af1458bf56aadaed8179a3f Sun Apr 07 16:55:17 UTC 2013 John Scipione <jscipione@gmail.com> Eliminate repeating CountItems() loop premature micro-optimization
Loop backwards if possible, if not, set a variable and use that instead. There were a couple of instances where the loop style got changed from for (int32 i = CountItems(); --i >= 0;) to for (int32 i = CountItems() - 1; i >= 0; i--) { but should be functionally equivalent.
|
H A D | ExpandoMenuBar.cpp | 9f2cce2faaddd7b08af1458bf56aadaed8179a3f Sun Apr 07 16:55:17 UTC 2013 John Scipione <jscipione@gmail.com> Eliminate repeating CountItems() loop premature micro-optimization
Loop backwards if possible, if not, set a variable and use that instead. There were a couple of instances where the loop style got changed from for (int32 i = CountItems(); --i >= 0;) to for (int32 i = CountItems() - 1; i >= 0; i--) { but should be functionally equivalent.
|