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.
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 inflatten_density.cpp
, which we can use as a role model.