diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-27 17:31:42 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-27 17:31:42 +0100 |
| commit | 36fb1d0fa1b70ee62dc6073d56176e8c81ceddfd (patch) | |
| tree | 9229e367690099c83b2f5231ca1990d7fb7561df /src/trans.c | |
| parent | 7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b (diff) | |
| download | nissy-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 '')
| -rw-r--r-- | src/trans.c | 16 |
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 */ | |||
| 44 | static int cofb_source[NTRANS]; | 44 | static int cofb_source[NTRANS]; |
| 45 | static int corl_source[NTRANS]; | 45 | static int corl_source[NTRANS]; |
| 46 | 46 | ||
| 47 | static int epose_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; | 47 | int epose_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; |
| 48 | static int eposs_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; | 48 | int eposs_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; |
| 49 | static int eposm_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; | 49 | int eposm_ttable[NTRANS][FACTORIAL12/FACTORIAL8]; |
| 50 | static int eo_ttable[NTRANS][POW2TO11]; | 50 | int eo_ttable[NTRANS][POW2TO11]; |
| 51 | static int cp_ttable[NTRANS][FACTORIAL8]; | 51 | int cp_ttable[NTRANS][FACTORIAL8]; |
| 52 | static int co_ttable[NTRANS][POW3TO7]; | 52 | int co_ttable[NTRANS][POW3TO7]; |
| 53 | static int cpos_ttable[NTRANS][FACTORIAL6]; | 53 | int cpos_ttable[NTRANS][FACTORIAL6]; |
| 54 | static Move moves_ttable[NTRANS][NMOVES]; | 54 | Move moves_ttable[NTRANS][NMOVES]; |
| 55 | 55 | ||
| 56 | /* Local functions implementation ********************************************/ | 56 | /* Local functions implementation ********************************************/ |
| 57 | 57 | ||
