[New-bugs-announce] [issue42825] Optimization opportunity on Windows

Austin Lamb report at bugs.python.org
Mon Jan 4 12:42:40 EST 2021


New submission from Austin Lamb <austin.lamb at microsoft.com>:

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.  That in turn also reduces the amount of Disk I/O that must be done to get these binaries in memory (which can be meaningful on spinning hard drives that are still rather common), and the reference set of applications using Python.

I'll send a PR for this shortly, just filing the issue to be able to reference it in the PR.

----------
components: Windows
messages: 384333
nosy: Austin-Lamb, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Optimization opportunity on Windows
type: performance
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42825>
_______________________________________


More information about the New-bugs-announce mailing list