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