You got a valid point about `++i` and `i++`. But I still feel that it is less complicated than previous one. I am explicitly saying(in first loop) that we are skipping some values to get to a specific index. Apart from that, we can avoid unncessary wrapping and indentation. Logic becomes much more explicit if broken down to two loops. _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
- [PATCH] Staging: xgifb: XGI_main_26.c: Refactored the functi... Pratik Jain
- Re: [PATCH] Staging: xgifb: XGI_main_26.c: Refactored t... Dan Carpenter
- Re: [PATCH] Staging: xgifb: XGI_main_26.c: Refactor... Pratik Jain
- Re: [PATCH] Staging: xgifb: XGI_main_26.c: Refactored t... Dan Carpenter
- [PATCH] Staging: xgifb: XGI_main_26.c: Refactored t... Pratik Jain
- Re: [PATCH] Staging: xgifb: XGI_main_26.c: Refa... Dan Carpenter
- [PATCH] Staging: xgifb: XGI_main_26.c: Refa... Pratik Jain
- Re: [PATCH] Staging: xgifb: XGI_main_2... Dan Carpenter