Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use std::vector for pv #23

Closed
lucasart opened this issue Sep 30, 2015 · 1 comment
Closed

use std::vector for pv #23

lucasart opened this issue Sep 30, 2015 · 1 comment

Comments

@lucasart
Copy link
Owner

currently, without PVS, the slowdown is huge (30% slower). but with PVS, PV nodes will be few, especially in long searches, so I can implement a zero cost model for non PV nodes, and allow a 30% slowdown in PV nodes.

the advantage is to get rid of VLA, which are not C++ standard (only standard in C). also, it means less stack usage.

@lucasart
Copy link
Owner Author

lucasart commented Oct 1, 2015

done

@lucasart lucasart closed this as completed Oct 1, 2015
This was referenced Nov 17, 2016
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

No branches or pull requests

1 participant