[issue42825] Optimization opportunity on Windows

2021-01-04 Thread Austin Lamb
Change by Austin Lamb : -- keywords: +patch pull_requests: +22928 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24098 ___ Python tracker ___

[issue42825] Optimization opportunity on Windows

2021-01-04 Thread Austin Lamb
New submission from Austin Lamb : I noticed that CPython and the various libraries built out of the repo aren't using the "/OPT:REF" linker optimization on Windows. This optimization allows the linker to throw away dead/unreachable code, resulting in a substantial decrease in binary size. T