9d6ed9def3
* Minor fix * Run non-optimize FASTCOVER 5 times in benchmark * Merge fastCover into dictBuilder * Fix mixed declaration issue * Add fastcover to symbol.c * Add fastCover.c and cover.h to build * Change fastCover.c to fastcover.c * Update benchmark to run FASTCOVER in dictBuilder * Undo spliting fastcover_param into cover_param and f * Remove convert param functions * Assign f to parameter * Add zdict.h to Makefile in lib * Add cover.h to BUCK * Cast 1 to U64 before shifting * Remove trimming of zero freq head and tail in selectSegment and rebenchmark * Remove f as a separate parameter of tryParam * Read 8 bytes when d is 6 * Add trimming off zero frequency head and tail * Use best functions from COVER and remove trimming part(which leads to worse compression ratio after previous bugs were fixed) * Add finalize= argument to FASTCOVER to specify percentage of training samples passed to ZDICT_finalizeDictionary * Change nbDmer to always read 8 bytes even when d=6 * Add skip=# argument to allow skipping dmers in computeFrequency in FASTCOVER * Update comments and benchmarking result * Change default method of ZDICT_trainFromBuffer to ZDICT_optimizeTrainFromBuffer_fastCover * Add dictType enum and fix bug about passing zParam when converting to coverParam * Combine finalize and skip into a single parameter * Update acceleration parameters and benchmark on 3 sample sets * Change default splitPoint of FASTCOVER to 0.75 and benchmark first 3 sample sets * Initialize variables outside of for loop in benchmark.c * Update benchmark result for hg-manifest * Remove cover.h from install-includes * Add explanation of f * Set default compression level for trainFromBuffer to 3 * Add assertion of fastCoverParams in DiB_trainFromFiles * Add checkTotalCompressedSize function + some minor fixes * Add test for multithreading fastCovr * Initialize segmentFreqs in every FASTCOVER_selectSegment and move mutex_unnlock to end of COVER_best_finish * Free segmentFreqs * Initialize segmentFreqs before calling FASTCOVER_buildDictionary instead of in FASTCOVER_selectSegment * Add FASTCOVER_MEMMULT * Minor fix * Update benchmarking result
247 lines
13 KiB
XML
247 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\..\..\lib\common\pool.c" />
|
|
<ClCompile Include="..\..\..\lib\common\debug.c" />
|
|
<ClCompile Include="..\..\..\lib\common\threading.c" />
|
|
<ClCompile Include="..\..\..\lib\common\entropy_common.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\hist.c" />
|
|
<ClCompile Include="..\..\..\lib\common\error_private.c" />
|
|
<ClCompile Include="..\..\..\lib\common\xxhash.c" />
|
|
<ClCompile Include="..\..\..\lib\common\zstd_common.c" />
|
|
<ClCompile Include="..\..\..\lib\common\fse_decompress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\fse_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\huf_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_fast.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_double_fast.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_lazy.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_opt.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_ldm.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstdmt_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\decompress\huf_decompress.c" />
|
|
<ClCompile Include="..\..\..\lib\decompress\zstd_decompress.c" />
|
|
<ClCompile Include="..\..\..\lib\deprecated\zbuff_common.c" />
|
|
<ClCompile Include="..\..\..\lib\deprecated\zbuff_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\deprecated\zbuff_decompress.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\cover.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\fastcover.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\divsufsort.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\zdict.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v01.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v02.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v03.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v04.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v05.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v06.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v07.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\..\..\lib\common\pool.h" />
|
|
<ClInclude Include="..\..\..\lib\common\threading.h" />
|
|
<ClInclude Include="..\..\..\lib\common\bitstream.h" />
|
|
<ClInclude Include="..\..\..\lib\common\error_private.h" />
|
|
<ClInclude Include="..\..\..\lib\common\zstd_errors.h" />
|
|
<ClInclude Include="..\..\..\lib\common\mem.h" />
|
|
<ClInclude Include="..\..\..\lib\common\fse.h" />
|
|
<ClInclude Include="..\..\..\lib\common\huf.h" />
|
|
<ClInclude Include="..\..\..\lib\common\xxhash.h" />
|
|
<ClInclude Include="..\..\..\lib\deprecated\zbuff.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_legacy.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v01.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v02.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v03.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v04.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v05.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v06.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v07.h" />
|
|
<ClInclude Include="..\..\..\lib\zstd.h" />
|
|
<ClInclude Include="..\..\..\lib\common\zstd_internal.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_compress.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_fast.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_double_fast.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_lazy.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_opt.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_ldm.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstdmt_compress.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ResourceCompile Include="libzstd-dll.rc" />
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{00000000-94D5-4BF9-8A50-7BD9929A0850}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<RootNamespace>libzstd-dll</RootNamespace>
|
|
<OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
|
|
<IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=4;WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=4;WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=4;WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<AssemblerOutput>All</AssemblerOutput>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=4;WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<TreatWarningAsError>false</TreatWarningAsError>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<OmitFramePointers>true</OmitFramePointers>
|
|
<AssemblerOutput>All</AssemblerOutput>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project>
|