Need some pointers on some code

Need some pointers on some code

void setup() {
//point
//point
//point
}
void loop() {
//point
//point
}

Sorry, couldn't resist. LOL XD

Ok joking aside, look into direct port manipulation, so you can use binary (0b00000000 , 0b00100101 ... 0b11111111) to change your output states.