Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Optimized C code

Name: Anonymous 2007-05-10 9:02 ID:YpMhiddP

Dear /prog/, how can I further optimize this piece of code to make it ENTERPRISE ? :

int main(void){
 return(main());
}

Name: Anonymous 2007-05-10 14:03 ID:cAqpBeR/

>>1
This recursive approach, while elegant, is inefficient in C.
Use a language that has tail call optimization.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List