daschaich / susy

Codes for supersymmetric lattice gauge theories
GNU General Public License v3.0
16 stars 6 forks source link

Move some operations out of loops #21

Open daschaich opened 2 years ago

daschaich commented 2 years ago

This should be a straightforward (if minor) performance improvement for I/O: In /generic/io_lat.c, there are currently lots of `NUMLINK sizeof(fmatrix)multiplications inside loops over the lattice volume, which can be brought out front and stored in a constantdata_size` variable, as in the 2d_SQCD_dev branch.