kz04px / 4ku

A UCI compatible chess engine that fits into 4,096 bytes.
MIT License
51 stars 20 forks source link

save byte by deleting some lines #296

Open Ruyter64 opened 4 days ago

Ruyter64 commented 4 days ago

Hi you can save some byte if you delete these lines (in the main function) after the line goto search_start;

        cin >> word >> time_left;
        if (pos.flipped)
           cin >> word >> time_left;

these lines are never used.

MinusKelvin commented 3 days ago

They are used in the minified version, since in that version the goto search_start; line is removed as it is within the // minify enable filter delete section.