Yes very clear - sorry for the confusion.Rebel wrote:That's of course possible. But I mean from the root.diep wrote:Maybe Bob didn't understand you mean odd iterations versus even iterations.Rebel wrote:I have a display, it gives the percentages how both HT tables fill and the odd-ply HT fills a lot faster than the even ply HT. It's exactly what one might expect from a well ordered search. And so it makes sense to declare a bigger odd-ply-HT than an even-ply-HT. Just try yourself.bob wrote:You realize that if you do an even-ply search, 1/2 of the hash stores are going to be from that last layer of even-ply searches??? That is, for every depth N-1 node where N-1 is odd, you will always see a depth N search (and probe).Rebel wrote:When implementing hash tables in the days that memory was limited (1 Mb if you were rich) I set-up my hash table data structure as follows:
- One hash table for odd plies
- One hash table for even plies
And where ever possible make the odd ply HT twice as big as the even ply HT because that one is accessed the most due to the AB behaviour. And it also worked great in case of a full HT. Anno 2012 I wonder if that's still the case.
Anyone using a somewhat similar system ?
I don't see why this makes any sense at all...Hope that clears things upCode: Select all
ply-1 e2-e4 (odd) --> into odd-HT ply-2 e7-e5 (even) --> into even-HT ply-3 Ng1-f3 (odd) --> into odd-HT ply-4 Nb8-c6 (even) --> into even HT
Note that it doesn't seem like a very efficient scheme at todays computing Ed.
As from the mainline you'll get a huge amount of nodes where the even/odd just is reversed thanks to mainline reasons.
Ack - i should say : *behind* the mainline you get a lot of nodes with a minimal search window where even/odd just is the reverse of the allnode/cutnode property from what you wrote down.
You basically sort it now colorbased if i may say so.
In Diep i'm not doing that.
In fact i take care that positions from black and white that are the same, get stored nearby each other.
Advantage is that i can reuse the evaluation value better then, as the evaluation from white is of course -black ones. As i store it always from white side viewpoint no big deal in fact.
Besides that of course we have already probably in one of our caches this c acheline now from the RAM, so if we nullmove we get our hashentry for near free from the hashtable.

