In article <1351 at umvlsi.ecs.umass.edu> breck at star.ecs.umass.edu (Liam Breck) writes: >Which is faster? Generally the switch statement will be faster than a search loop. >If I put the switch in its own function how much will that slow things down? How could we possibly know -- you haven't said what system you're using.