aboutsummaryrefslogtreecommitdiff
path: root/src/trans.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-02-27 17:31:42 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-02-27 17:31:42 +0100
commit36fb1d0fa1b70ee62dc6073d56176e8c81ceddfd (patch)
tree9229e367690099c83b2f5231ca1990d7fb7561df /src/trans.c
parent7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b (diff)
downloadnissy-36fb1d0fa1b70ee62dc6073d56176e8c81ceddfd.tar.gz
nissy-36fb1d0fa1b70ee62dc6073d56176e8c81ceddfd.zip
Removed some unused code (khuge). Improved optimal solver performance by about 10% using raw transition tables (same for dr step).
Diffstat (limited to 'src/trans.c')
-rw-r--r--src/trans.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/trans.c b/src/trans.c
index 72f8dd2..e267a17 100644
--- a/src/trans.c
+++ b/src/trans.c
@@ -44,14 +44,14 @@ static int coud_source[NTRANS]; /* 0=coud, 1=corl, 2=cofb */
44static int cofb_source[NTRANS]; 44static int cofb_source[NTRANS];
45static int corl_source[NTRANS]; 45static int corl_source[NTRANS];
46 46
47static int epose_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; 47int epose_ttable[NTRANS][FACTORIAL12/FACTORIAL8];
48static int eposs_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; 48int eposs_ttable[NTRANS][FACTORIAL12/FACTORIAL8];
49static int eposm_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; 49int eposm_ttable[NTRANS][FACTORIAL12/FACTORIAL8];
50static int eo_ttable[NTRANS][POW2TO11]; 50int eo_ttable[NTRANS][POW2TO11];
51static int cp_ttable[NTRANS][FACTORIAL8]; 51int cp_ttable[NTRANS][FACTORIAL8];
52static int co_ttable[NTRANS][POW3TO7]; 52int co_ttable[NTRANS][POW3TO7];
53static int cpos_ttable[NTRANS][FACTORIAL6]; 53int cpos_ttable[NTRANS][FACTORIAL6];
54static Move moves_ttable[NTRANS][NMOVES]; 54Move moves_ttable[NTRANS][NMOVES];
55 55
56/* Local functions implementation ********************************************/ 56/* Local functions implementation ********************************************/
57 57

Generated with cgit - Back to sebastiano.tronto.net