Skip to content

Conversation

@mcostalba
Copy link
Contributor

It is more idiomatic, we didn't used it
in the past because Position::pretty(Move)
had a calling argument, but now we can.

As an added benefit, we avoid a lot of string
copies in the process because now we avoid
std::ostringstream ss.

No functional change.

It is more idiomatic, we didn't used it
in the past because Position::pretty(Move)
had a calling argument, but now we can.

As an added benefit, we avoid a lot of string
copies in the process because now we avoid
std::ostringstream ss.

No functional change.
@zamar
Copy link

zamar commented Nov 1, 2014

Approved

@glinscott
Copy link
Contributor

Looks good, push away.

mcostalba added a commit that referenced this pull request Nov 1, 2014
Prefer operator<<() to pretty()

No functional change.
@mcostalba mcostalba merged commit 79fa72f into master Nov 1, 2014
@glinscott glinscott deleted the pull_no_pretty branch December 14, 2014 21:16
niklasf pushed a commit to niklasf/Stockfish that referenced this pull request Oct 31, 2016
Bugfix for horde games with reverse colors
Alayan-stk-2 added a commit to Alayan-stk-2/Stockfish that referenced this pull request Feb 3, 2020
…nvert. This patch looks for some common features related to conversion chances in order to better separate drawish endgames from winnable endgames. (official-stockfish#89)

Original idea from Stockfish, whose initiative code served as a base to simplify and adapt to Ethereal.

ELO   | 6.65 +- 4.59 (95%)
SPRT  | 10.0+0.1s Threads=1 Hash=8MB
LLR   | 2.95 (-2.94, 2.94) [0.00, 5.00]
Games | N: 8825 W: 1861 L: 1692 D: 5272
http://chess.grantnet.us/viewTest/3471/

ELO   | 12.01 +- 6.05 (95%)
SPRT  | 60.0+0.6s Threads=1 Hash=64MB
LLR   | 2.96 (-2.94, 2.94) [0.00, 5.00]
Games | N: 3965 W: 690 L: 553 D: 2722
http://chess.grantnet.us/viewTest/3472/

BENCH: 7,303,371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants