Here is my first library that I have made available for you.
The library is using for reading and writing the pins with processor command which makes this process faster than arduino's functions like digitalWrite and digitalRead.
It can also be used with avr-based microprocessor.
Are you aware of the digitalWriteFast library? It uses the same style as regular digitialRead() and digitalWrite() so is probably easier for newbies to work with.