2
0
Эх сурвалжийг харах

Use 64 as the new maximum value of [Setup] section directive LZMANumBlockThreads, instead of 256.

Martijn Laan 3 өдөр өмнө
parent
commit
5ca4de302e

+ 1 - 1
ISHelp/isetup.xml

@@ -6240,7 +6240,7 @@ SignTool=byparam format c:
 </setuptopic>
 
 <setuptopic directive="LZMANumBlockThreads">
-<setupvalid><tt>1</tt> through <tt>256</tt></setupvalid>
+<setupvalid><tt>1</tt> through <tt>64</tt></setupvalid>
 <setupdefault><tt>1</tt></setupdefault>
 <body>
 <p>When compressing a large amount of data, the LZMA2 compressor has the ability to divide the data into "blocks" and compress two or more of these blocks in parallel through the use of additional threads (provided sufficient processor power is available). This directive specifies the number of threads to use -- that is, the maximum number of blocks that the LZMA2 compressor may compress in parallel.</p>

+ 1 - 1
Projects/Src/Compiler.SetupCompiler.pas

@@ -2902,7 +2902,7 @@ begin
         CompressProps.BTMode := I;
       end;
     ssLZMANumBlockThreads: begin
-        CompressProps.NumBlockThreads := StrToIntRange(Value, 1, 256);
+        CompressProps.NumBlockThreads := StrToIntRange(Value, 1, 64);
       end;
     ssLZMANumFastBytes: begin
         CompressProps.NumFastBytes := StrToIntRange(Value, 5, 273);

+ 1 - 1
whatsnew.htm

@@ -203,7 +203,7 @@ Source: "https://jrsoftware.org/download.php/iscrypt.dll?dontcount=1"; DestName:
     </ul>
   </li>
   <li><tt>[Files]</tt> section parameter <tt>Excludes</tt> can now be combined with the <tt>external</tt> flag.</li>
-  <li>Increased the maximum value of <tt>[Setup]</tt> section directive <tt>LZMANumBlockThreads</tt> from 32 to 256.</li>
+  <li>Increased the maximum value of <tt>[Setup]</tt> section directive <tt>LZMANumBlockThreads</tt> from 32 to 64.</li>
   <li>Parameters <tt>ExternalSize</tt>, <tt>ExtraDiskSpaceRequired</tt>, and <tt>UninstallDisplaySize</tt> now support digit separators. Example: <tt>UninstallDisplaySize=1_073_741_824</tt>.<br/>
       The same applies to <tt>[Registry]</tt> parameter <tt>ValueData</tt> if <tt>ValueType</tt> is set to <tt>qword</tt>.</li>
   <li>ISPP changes: