mgastner / cartogram-cpp

Cartogram generator in C++
MIT License
8 stars 4 forks source link

Parallelize `fill_with_density` #133

Closed mgastner closed 5 months ago

mgastner commented 2 years ago

For some of the sample data (e.g., Japan and Russia), the code seems to spend most of its time in fill_with_density(). This issue could be partly addressed by parallelizing some of the loops. We have examples of parallelization in flatten_density.cpp, which we can use as a role model.