diff options
author | Aaron LI <aly@aaronly.me> | 2017-08-01 18:27:43 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-08-01 18:27:43 +0800 |
commit | 4b13e8bd09d2e220aba040576e58dfa60c044c54 (patch) | |
tree | af295037451c37ea8e061fce2e2ff29c486f3827 /bin/fg21sim-webui | |
parent | 8c2b947d41346e7374269f729fe65975d6613b6e (diff) | |
download | fg21sim-4b13e8bd09d2e220aba040576e58dfa60c044c54.tar.bz2 |
clusters/emission.py: Make "F()" be class method, fixing memory hole!
For unknown reason! Each instance of "SynchrotronEmission" will cost
~5 MiB memory when interpolating the kernel function cached as
"self._F_interp", which won't be collected/freed by GC, for UNKNOWN
reason!
Therefore, make the method "F()" be class-wide, to avoid the memory hole!
Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'bin/fg21sim-webui')
0 files changed, 0 insertions, 0 deletions