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

C

Name: Anonymous 2011-01-27 4:38

strlen(3) is FUCKING O(n)!

Name: Anonymous 2011-01-27 5:59

>>4
Mine is O(1)


struct string {
    char *data;
    size_t length;
};


The char *data is first because I can just do (char *)string to pass it as a normal char pointer.

>>1 is bloated shit.

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