I'm not sure about the best way to deal with empty entries in the TT.
I currently have them as null objects, but I think someone said a while ago to just store them with depth=0 so I don't need to check for null.
I don't think this is right, when we probe the TT, we have...
Code: Select all
if(entry.depth>=depth)...
So, if you ignore QS(all depths>=0), you could initialize all TT entries with a depth -1, and I think that would work, since no entries would be null, and entries with depth==-1 would always fail the condition entry.depth>=depth.
Or am I totally wrong?

Thanks