EDIT: It's true, it's not satire... check out e.g. lex.c in php2/php-1.99s.tar.gz
/* Command hash table * The hash is extremely simplistic and just based on the length of the * command. */
void IntFunc(char *fnc_name) { int i=0; int cmdlen = strlen(fnc_name);
while(cmd_table[cmdlen][i].cmd) { if(!strncasecmp(fnc_name,cmd_table[cmdlen][i].cmd,cmdlen)) { cmd_table[cmdlen][i].fnc(); break;
EDIT: It's true, it's not satire... check out e.g. lex.c in php2/php-1.99s.tar.gz
followed by all top-level functions ordered by string length.