Opt into Windows SegmentHeap

SegmentHeap provides a faster malloc implementation that only available with Dynamic UCRT in Windows 10, version 2004 (build 19041) and later.

PR #21263.
This commit is contained in:
Andarwinux 2024-09-08 07:09:34 +00:00 committed by GitHub
commit f00c5c9fa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,10 +36,12 @@
</application>
</compatibility>
<!-- Enable long paths that exceed MAX_PATH in length -->
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<longPathAware>true</longPathAware>
</asmv3:windowsSettings>
</asmv3:application>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<!-- Override Windows default heap implementation with more modern "Segment Heap" on supported platforms (requires Windows 10 2004 or newer) -->
<heapType xmlns="http://schemas.microsoft.com/SMI/2020/WindowsSettings">SegmentHeap</heapType>
<!-- Enable long paths that exceed MAX_PATH in length -->
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
</assembly>