aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-08-01 18:27:43 +0800
committerAaron LI <aly@aaronly.me>2017-08-01 18:27:43 +0800
commit4b13e8bd09d2e220aba040576e58dfa60c044c54 (patch)
treeaf295037451c37ea8e061fce2e2ff29c486f3827 /bin
parent8c2b947d41346e7374269f729fe65975d6613b6e (diff)
downloadfg21sim-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')
0 files changed, 0 insertions, 0 deletions