From 8210dd27b30c85cf6437ec8bb994f3084ef97a34 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 10 Mar 2017 12:22:03 +0300 Subject: [PATCH] Disabled Prefer32Bit, which prevented SIMD vector optimizations --- README.md | 6 +++--- WhiteRabbit/WhiteRabbit.csproj | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6020463..52824e2 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,11 @@ For comparison, certain other solutions available on GitHub seem to require 3 ho Anagrams generation is not parallelized, as even single-threaded performance for 4-word anagrams is high enough; and 5-word (or larger) anagrams are frequent enough for most of the time being spent on computing hashes, with full CPU load. -Multi-threaded performance is as follows: +Multi-threaded performance with RyuJIT (.NET 4.6, 64-bit system) is as follows: -* If only phrases of at most 4 words are allowed, then it takes 20 seconds to find and check all anagrams; all hashes are solved in first 1 second. +* If only phrases of at most 4 words are allowed, then it takes less than 10 seconds to find and check all anagrams; all hashes are solved in first 1 second. -* If phrases of 5 words are allowed as well, then it takes around half an hour to find and check all anagrams; all hashes are solved in first 25 seconds. Around 50% of time is spent on MD5 computations for correct anagrams, so there is not a lot to optimize further. +* If phrases of 5 words are allowed as well, then it takes around 18 minutes to find and check all anagrams; all hashes are solved in first 25 seconds. Most of time is spent on MD5 computations for correct anagrams, so there is not a lot to optimize further. * If phrases of 6 words are allowed as well, then "more difficult" hash is solved in 50 seconds, "easiest" in 3.5 minutes, and "hard" in 6 minutes. diff --git a/WhiteRabbit/WhiteRabbit.csproj b/WhiteRabbit/WhiteRabbit.csproj index a0ac0c9..483df1a 100644 --- a/WhiteRabbit/WhiteRabbit.csproj +++ b/WhiteRabbit/WhiteRabbit.csproj @@ -23,6 +23,7 @@ prompt 4 bin\Debug\WhiteRabbit.XML + false AnyCPU @@ -32,6 +33,7 @@ TRACE prompt 4 + false