I also prefer the loops as they have been implemented before. Sometimes also such minor optimizations help a lot.
Walking the list by handcoding is not an optimization. Those macros are just as fast as doing it manually.
And if one doesn't know how to deal with double linked lists, one shouldn't use them, IMO.
Cleaner code (less code) is the point here, not knowing how to deal with lists. Less code = better code.
- Thomas
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev