diff options
Diffstat (limited to 'P1/src')
-rw-r--r-- | P1/src/mapper.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c index 8bbd2a6..8aff3ec 100644 --- a/P1/src/mapper.c +++ b/P1/src/mapper.c @@ -78,18 +78,7 @@ while (root != NULL) { // emit the <key, value> into intermediate DS // eats the data into the DS void emit(char *key, char *value) { - //Go through intermediateDS, comparing key in list to *key. - //If it exists, somehow add to the value list another "1" to the existing list. - //If it never does (use string compare thing), add it to the end along with the "1". - - /* THIS IS NOT CURRENTLY IMPLEMENTED PROPERLY BUT SHOULD BE ABOUT RIGHT - CONCEPTUALLY. - intermediateDS *tempNode = NULL; - while (root != NULL) { - tempNode = root; - root = root -> next; - } - */ + } // map function |