4 ms·
In the same spirit, here's a fun talk about tool that guarantees 100% line coverage for your Python tool: https://www.youtube.com/watch?v=A-cjMRsHcXI https://ww
by tverbeure 3y ago
In the same spirit, here's a fun talk about tool that guarantees 100% line coverage for your Python tool: https://www.youtube.com/watch?v=A-cjMRsHcXI https://www.youtube.com/watch?v=A-cjMRsHcXI
After running your test suite, it kicks into action and deletes all the lines of your code that were never executed.
- lifthrasiir 3y agoIt is actually a viable strategy if you are heavily optimizing for the executable size [1]. It's essentially a radical dead code elimination scheme. [1] https://fgiesen.wordpress.com/2012/04/08/metaprogramming-for-madmen/ https://fgiesen.wordpress.com/2012/04/08/metaprogramming-for...