Skip to content

coleshanks/Lab3Q1_Multithreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

The file paths for the different plays are local to my machine so to successfully run the code you just need to change C:/Users/cshan/Desktop/Lab3_Final/lab3-main/
to match the location local to your machine

Questions

1. By creating various test files with differences such as: spaces placed throughout, starting index, etc. Then, I can test
my pogram throuroughly knowing the expected reuslt I hope to get for the wordcount.


2. No, I achieved the same speed approximately implementing single or multi-threaded approach. Approximately 300ms for both.
Multithreading can help if some plays are much longer (outliers)


just think about how you would do it)?
3. This could be implemented by, if each thread is dedicated to a different work of shakespeare, resetting the character when a thread finishes.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages