On Sat, Feb 27, 2010 at 04:40:12AM +0000, Izumi Tsutsui wrote: > > Log Message: > Always call device dependent functions via pointers rather than > using conditionals to switch inline functions for modern processors.
Eh ??? if (foo) bar(); else baz(); will probably execute faster than: (*bar_baz)(); since the indirect jump is (IIRC) always unpredicted. the 'if' version stands a chance of correctly predicting the jump. David -- David Laight: da...@l8s.co.uk