C++ Performance improved

I had some time free this morning, so I took another look at the codebase I’m working with.

Restructuring my code a bit to be more performance oriented got me up to 19,800 games per second, a definite improvement over my earlier attempts. Beats out the .Net version by about 30%, and several times faster than my earlier attempts in C++.

That’s good enough for now, as further improvements would require getting tricky with the algorithms. While cleverness is useful, that’s not really the focus here; it’s time to move on to the Neural Networks using CNTK.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s