conda-forge / conda-forge/python-feedstock

Investigate -fno-semantic-interposition build option

未關閉
#287 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Shell
星號
47
分支
112
平均合併
2 天 9 小時
30 天內合併 PR
18

描述

Fedora 32 has a proposal to build python with with `-fno-semantic-interposition` for better performance (https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup),
> We add the -fno-semantic-interposition compiler/linker flag when building Python interpreters, as it provides significant performance improvement, up to 27% depending on the workload. Users will no longer be able to use LD_PRELOAD to override a symbol from libpython, which we consider a good trade off for the speedup.

It would be interesting to investigate whether the same could be done for conda-forge Linux (and possibly MacOS) builds.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。