Beware that any depth gain obtained by increasing reductions doesn't necessarily cause a gain in playing strength.lauriet wrote:I have also made my LMR more aggressive by reducing "equal moves" that is moves that get a zero score via the PST.
I'm now getting 10->11 ply which I am happy with for my first engine on pretty modest hardware.
How to speed up my engine
Moderators: hgm, Rebel, chrisw
-
- Posts: 27811
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: How to speed up my engine
-
- Posts: 199
- Joined: Sun Nov 03, 2013 9:32 am
Re: How to speed up my engine
After a bit of testing, I find that you are correct.
Probably because my LMR is poor.
'Ah well'......I will keep learning
Probably because my LMR is poor.
'Ah well'......I will keep learning
-
- Posts: 268
- Joined: Sun Apr 24, 2011 12:33 am
Re: How to speed up my engine
I have three advices for you:
1. ASSERT everything
2. ASSERT everything
And last one that is the most important:
3. ASSERT everything
Do you plan to have windows compiles?
1. ASSERT everything
2. ASSERT everything
And last one that is the most important:
3. ASSERT everything
Do you plan to have windows compiles?
-
- Posts: 7220
- Joined: Mon May 27, 2013 10:31 am
Re: How to speed up my engine
Asserts only make your code more complicated. Bugs are usually in cases you did not know about. So how can you test conditions you don't know about.
Re: How to speed up my engine
You're not serious right?Henk wrote:Asserts only make your code more complicated. Bugs are usually in cases you did not know about. So how can you test conditions you don't know about.
-
- Posts: 7220
- Joined: Mon May 27, 2013 10:31 am
Re: How to speed up my engine
I am always serious. Asserts is for (unit) tests and not in other code. Just use the debugger and verify. Don't want to view and debug code that is made more complicated than necessary due to assert statements you already have tested and verified ten times before.
-
- Posts: 759
- Joined: Fri Jan 04, 2013 4:55 pm
- Location: Nice
Re: How to speed up my engine
Folkert , let him write nonsenses , He's well known a spécialist !flok wrote:You're not serious right?Henk wrote:Asserts only make your code more complicated. Bugs are usually in cases you did not know about. So how can you test conditions you don't know about.
Have a look at fruit source code , it is full of asserts , it is very helpfull
Bests
Dany
-
- Posts: 4052
- Joined: Thu May 15, 2008 9:57 pm
- Location: Berlin, Germany
- Full name: Sven Schüle
Re: How to speed up my engine
It just does not seem so.Henk wrote:I am always serious.
That is plain wrong.Henk wrote:Asserts is for (unit) tests and not in other code.
ASSERT(false);Henk wrote:Just use the debugger and verify. Don't want to view and debug code that is made more complicated than necessary due to assert statements you already have tested and verified ten times before.
-
- Posts: 759
- Joined: Fri Jan 04, 2013 4:55 pm
- Location: Nice
Re: How to speed up my engine
Sven Schüle wrote:ASSERT(false);Henk wrote:Just use the debugger and verify. Don't want to view and debug code that is made more complicated than necessary due to assert statements you already have tested and verified ten times before.
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: How to speed up my engine
Assert is usefull,but not worth the hype.They are f.i. not so helpfull for single person projects.Henk wrote:Asserts only make your code more complicated. Bugs are usually in cases you did not know about. So how can you test conditions you don't know about.