mogill / ems

Extended Memory Semantics - Persistent shared object memory and parallelism for Node.js and Python
Other
597 stars 41 forks source link

Word Count Example #3

Closed battlejj closed 10 years ago

battlejj commented 10 years ago

In your word count example the following line:

var text = fs.readFileSync('/Data/Gutenberg/all/' + dir[bufNum], 'utf8', "r")

should be:

var text = fs.readFileSync('/Data/Gutenberg/all/' + dir[docNum], 'utf8', "r")

mogill commented 10 years ago

My bad -- thanks for point that out! I just fixed the README.