Faster development environment?

First question, digitalWrite is quite slow, but it would be better if you
a) stated your aim
b) posted your code.