Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimized C code by moving a variable outside of a loop.
It seems that the repeated access to `sources(isrc,ig)` causes a slow-down that can be easily avoided by caching the source as: ```python3 double source_val = sources (isrc, ig) ``` From local test on an M1 mac, this yield a speedup of about ~1.18. Changed variable name for consistency
- Loading branch information