SGpp / DisCoTec

MPI-based code for distributed HPC simulations with the sparse grid combination technique. Docs->(https://discotec.readthedocs.io/)
https://sparsegrids.org/
GNU Lesser General Public License v3.0
8 stars 7 forks source link

Replace std::fill( ... 0 ...) with memset #74

Closed freifrauvonbleifrei closed 1 year ago

freifrauvonbleifrei commented 1 year ago

for these changes https://github.com/SGpp/DisCoTec/pull/73 we saw huge run time differences between std::fill and memset for zero values. There are probably a lot more places where the code could benefit from memset.