Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the newly introduced LineBB[] to simplify this super hot-path function. Verified with perft we don't have any speed regression, although the number of squares removed is less than before in case of contact check. Insipred by DiscoCheck implementation. Perft numbers are the same, but we have an harmless functional change due to reorder of moves, because now some illegal moves are no more detected at generation time, but in the search. bench: 8331357
- Loading branch information