StingraySoftware / stingray

Anything can happen in the next half hour (including spectral timing made easy)!
https://stingray.science/stingray
MIT License
172 stars 141 forks source link

Reduced memory usage of EventList.from_lc() #756

Closed pupperemeritus closed 1 year ago

pupperemeritus commented 1 year ago

Reduced memory usage of from_lc method of EventList by changing list comprehension to a generator comprehension expression

codecov[bot] commented 1 year ago

Codecov Report

Merging #756 (a656604) into main (34665e2) will increase coverage by 0.00%. Report is 10 commits behind head on main. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #756   +/-   ##
=======================================
  Coverage   89.72%   89.72%           
=======================================
  Files          42       42           
  Lines        7929     7932    +3     
=======================================
+ Hits         7114     7117    +3     
  Misses        815      815           
Files Changed Coverage Δ
stingray/events.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more