PPTC vs. giant ExeFS. (#2168)

* PPTC vs. giant ExeFS.

* InternalVersion = 2168

* Add new heuristic algorithm for calculating the number of threads for parallel translations that also takes into account the user's free physical memory and not just the number of CPU cores.

* Nit.

* Add an outer Header structure and add the hashes for both this new structure and the existing "inner" Header structure.

* InternalVersion = 2169
This commit is contained in:
LDj3SNuD 2021-04-13 03:24:36 +02:00 committed by GitHub
parent 7344dee475
commit 90163087a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 367 additions and 197 deletions

View file

@ -2,8 +2,8 @@ using System.Text;
namespace ARMeilleure.Translation.PTC
{
internal static class EncodingCache
static class EncodingCache
{
internal static readonly Encoding UTF8NoBOM = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true);
public static readonly Encoding UTF8NoBOM = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true);
}
}