Extensive discussion here: http://arduino.cc/forum/index.php/topic,4324.0.html
Also search for "digitalWriteFast"