cosmobobak / viridithas

A superhuman chess engine.
MIT License
94 stars 8 forks source link

optimise MoveList allocation, Colour type #117

Closed cosmobobak closed 8 months ago

cosmobobak commented 8 months ago
cosmo@tarski:~/external/EngineTests(master)$ python speedup.py
               master               |           optimisations            |
        mu              sigma       |        mu              sigma       |   Sp(1)/Sp(2)      3*sigma   
------------------------------------+------------------------------------+------------------------------------
       1270957.000             0.000|       1323882.000             0.000|      -3.998 %  +/-  0.000 %
       1225279.000         64598.447|       1311429.500         17610.494|      -6.594 %  +/-  11.015 %
       1224600.000         45693.137|       1301642.000         21034.501|      -5.925 %  +/-  8.528 %
       1220447.500         38221.480|       1285831.250         35984.526|      -5.058 %  +/-  8.693 %
       1216511.800         34250.691|       1287933.200         31515.957|      -5.521 %  +/-  8.144 %
       1216412.667         30635.712|       1286814.167         28321.685|      -5.450 %  +/-  7.303 %
       1214342.143         28497.927|       1280215.571         31196.502|      -5.117 %  +/-  7.171 %
       1214362.625         26384.017|       1282838.125         29819.664|      -5.310 %  +/-  6.838 %
       1214268.778         24681.594|       1282708.556         27896.450|      -5.311 %  +/-  6.397 %
       1214562.000         23288.497|       1281400.500         26624.312|      -5.193 %  +/-  6.134 %
       1216619.727         23123.480|       1285284.091         28352.666|      -5.318 %  +/-  5.950 %
       1214372.417         23381.436|       1285992.250         27144.283|      -5.545 %  +/-  6.146 %
       1213253.385         22746.713|       1282769.308         28468.347|      -5.392 %  +/-  6.113 %
       1210001.929         25012.386|       1282391.429         27388.023|      -5.621 %  +/-  6.408 %
       1209417.467         24208.600|       1278681.333         30049.909|      -5.385 %  +/-  6.757 %
       1206272.188         26556.927|       1279568.312         29246.965|      -5.695 %  +/-  7.515 %
       1207541.412         26240.747|       1280388.353         28519.385|      -5.659 %  +/-  7.290 %
       1208555.667         25818.387|       1281266.944         27917.835|      -5.646 %  +/-  7.074 %
       1208476.579         25093.330|       1282758.316         27899.190|      -5.761 %  +/-  7.037 %
       1209433.700         24796.291|       1284051.650         27764.230|      -5.782 %  +/-  6.856 %
       1210936.952         25131.024|       1283406.952         27222.017|      -5.618 %  +/-  7.055 %
       1211257.955         24571.541|       1284951.091         27535.553|      -5.705 %  +/-  6.995 %
       1209645.000         25222.099|       1282320.000         29714.701|      -5.636 %  +/-  6.907 %
       1208718.000         25082.250|       1283266.417         29429.078|      -5.776 %  +/-  7.065 %
       1210503.720         26127.110|       1285285.040         30526.306|      -5.786 %  +/-  6.917 %
       1211498.846         26097.280|       1286097.269         30194.929|      -5.770 %  +/-  6.782 %
       1212178.444         25832.985|       1285502.852         29769.230|      -5.674 %  +/-  6.819 %
       1213565.071         26390.591|       1287044.500         30330.374|      -5.680 %  +/-  6.692 %