djay / covidthailand

Thailand Covid testing and case data gathered and combined from various sources for others to download or view
126 stars 15 forks source link

Refactor Plot file #123

Closed modiholodri closed 2 years ago

djay commented 3 years ago

I would include in this refactoring so plot generation could happen in parallel not sure to make it easier to work with. This could either be done mp for all the time periods of one plot, or do groups of plots in seperate processes or even perhaps both?

modiholodri commented 3 years ago

Good idea. Maybe break it down to generate all the plots for each chart type separate. Would make also the testing easier when only specific plots can be produced. It might not speed it up that much because my computer is pretty busy anyway when generating the plots. I would only keep that in mind when doing the refactoring, but raise a separate issue because it looks like quite a big change.