lmmx / wikitransp

Dataset of transparent images from Wikimedia
MIT License
0 stars 0 forks source link

Simplify summary recording #3

Closed lmmx closed 3 years ago

lmmx commented 3 years ago

Not important but I’d rather keep a single number (the average) rather than the entire list of durations (expected to be hundreds of thousands), when all they’ll be used for is count, average, min, and max.

Make the list type into a dict type and move the summarisation from the end to in the middle of the loop.

lmmx commented 3 years ago

Not sure it’s desirable as a) a list of a few hundred thousand floats doesn’t actually take long to handle except for the creation, and the lists involved are only appended to, and I need to keep hold of (at least the end of) the lists to be able to detect time-since-last. Closing