mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-13 09:32:39 +01:00
DroidFish: Set RTB option before GTB option. Improves texel startup time a bit.
This commit is contained in:
@@ -177,10 +177,10 @@ public class ExternalEngine extends UCIEngineBase {
|
|||||||
super.initOptions(engineOptions);
|
super.initOptions(engineOptions);
|
||||||
hashMB = getHashMB(engineOptions.hashMB);
|
hashMB = getHashMB(engineOptions.hashMB);
|
||||||
setOption("Hash", hashMB);
|
setOption("Hash", hashMB);
|
||||||
gaviotaTbPath = engineOptions.getEngineGtbPath(false);
|
|
||||||
setOption("GaviotaTbPath", gaviotaTbPath);
|
|
||||||
syzygyPath = engineOptions.getEngineRtbPath(false);
|
syzygyPath = engineOptions.getEngineRtbPath(false);
|
||||||
setOption("SyzygyPath", syzygyPath);
|
setOption("SyzygyPath", syzygyPath);
|
||||||
|
gaviotaTbPath = engineOptions.getEngineGtbPath(false);
|
||||||
|
setOption("GaviotaTbPath", gaviotaTbPath);
|
||||||
optionsInitialized = true;
|
optionsInitialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -206,10 +206,10 @@ public class NetworkEngine extends UCIEngineBase {
|
|||||||
super.initOptions(engineOptions);
|
super.initOptions(engineOptions);
|
||||||
hashMB = engineOptions.hashMB;
|
hashMB = engineOptions.hashMB;
|
||||||
setOption("Hash", engineOptions.hashMB);
|
setOption("Hash", engineOptions.hashMB);
|
||||||
gaviotaTbPath = engineOptions.getEngineGtbPath(true);
|
|
||||||
setOption("GaviotaTbPath", gaviotaTbPath);
|
|
||||||
syzygyPath = engineOptions.getEngineRtbPath(true);
|
syzygyPath = engineOptions.getEngineRtbPath(true);
|
||||||
setOption("SyzygyPath", syzygyPath);
|
setOption("SyzygyPath", syzygyPath);
|
||||||
|
gaviotaTbPath = engineOptions.getEngineGtbPath(true);
|
||||||
|
setOption("GaviotaTbPath", gaviotaTbPath);
|
||||||
optionsInitialized = true;
|
optionsInitialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user