Disservin / chess-library

C++ chess library
https://disservin.github.io/chess-library/
MIT License
63 stars 20 forks source link

refactor: slightly faster setFen #93

Closed Disservin closed 2 months ago

Disservin commented 2 months ago
|               ns/op |                op/s |    err% |          ins/op |          cyc/op |    IPC |         bra/op |   miss% |     total | benchmark
|--------------------:|--------------------:|--------:|----------------:|----------------:|-------:|---------------:|--------:|----------:|:----------
|              206.64 |        4,839,301.05 |    1.6% |        3,909.00 |          962.42 |  4.062 |         825.00 |    0.0% |      0.01 | `setFenInternal`
|              168.05 |        5,950,730.51 |    0.6% |        2,813.00 |          779.52 |  3.609 |         597.00 |    0.0% |      0.01 | `setFenInternal2`