msvc/ucxtest/ucxtest.vcxproj.filters

Sun, 23 Nov 2025 13:15:19 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 23 Nov 2025 13:15:19 +0100
changeset 1508
dfc0ddd9571e
parent 1396
533ed620fd73
permissions
-rw-r--r--

optimize sorted insertion by using the infimum instead of the supremum

The reason is that the supremum returns the equal element with the smallest index, and we want the largest.
Therefore, we use the infimum, which already gives us the largest index when there are equal elements, and increase the index by one. The infimum is also guaranteed to exist in that case.

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <Filter Include="Header">
      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
      <Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
    </Filter>
    <Filter Include="Source">
      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
      <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
    </Filter>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\..\tests\test_allocator.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_buffer.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_compare.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_hash_key.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_hash_map.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_iterator.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_json.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_list.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_kv_list.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_mempool.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_printf.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_properties.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_string.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_szmul.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_tree.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\test_streams.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\ucxtest.c">
      <Filter>Source</Filter>
    </ClCompile>
    <ClCompile Include="..\..\tests\util_allocator.c">
      <Filter>Source</Filter>
    </ClCompile>
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\..\tests\util_allocator.h">
      <Filter>Header</Filter>
    </ClInclude>
  </ItemGroup>
</Project>

mercurial