Search found 2668 matches
- Fri Sep 19, 2008 5:50 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: qsearch hashing
- Replies: 5
- Views: 1564
Re: qsearch hashing
I do not hash Qsearch, Eval, or Pawn stuff. I have tried Qsearch and Eval hashes a couple times, with no luck...my guess is all three are helpful if done well but not if done poorly. -Sam I have experimented with Glaurung 2.1. I have found a very good improvment when hashing in qsearch. My guess is...
- Mon Sep 15, 2008 1:53 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Effect of MVV/LVA
- Replies: 17
- Views: 5689
Re: Effect of MVV/LVA
It would be nice if you could confirm all this with results of your measurements after switching to "fixed depth". Sven Hi Sven, I'm sorry, I did not express myself clearly. The test I did were indeed fixed depth searches. What I meant is that they need about 1 minutes to complete. Sorry, but I ask...
- Mon Sep 15, 2008 5:17 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Effect of MVV/LVA
- Replies: 17
- Views: 5689
Re: Effect of MVV/LVA
Hi, Now I added MVV/LVA (the captures are now ordered) and I'm disapointed of the result. When I run a benchmark on 5 differents positions for about 1 minute, the MVV/LVA version does search 381.3M nodes while the non-MVV/LVA version searches 383.5M nodes. That's only a reduction of 0.6% of the nod...
- Thu Sep 11, 2008 11:42 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: c/c++ question: comparing/sorting sctructs
- Replies: 41
- Views: 9059
Re: c/c++ question: comparing/sorting sctructs
memcmp is a dirty trick to say at least, don't use it, is not portable, is compiler dependent, is endian dependent, is probably broken and most impostant is unnecessary for you. :shock: rubbish True, it is not endian dependent. :-) No, it was none of things stated :P I promise to myself not to answ...
- Tue Sep 09, 2008 7:47 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: c/c++ question: comparing/sorting sctructs
- Replies: 41
- Views: 9059
Re: c/c++ question: comparing/sorting sctructs
memcmp is a dirty trick to say at least, don't use it, is not portable, is compiler dependent, is endian dependent, is probably broken and most impostant is unnecessary for you. :shock: rubbish Of course memcmp() is a standard function. But just compares RAM. Is the use of memcmp to compare struct ...
- Tue Sep 09, 2008 7:17 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: c/c++ question: comparing/sorting sctructs
- Replies: 41
- Views: 9059
Re: c/c++ question: comparing/sorting sctructs
memcmp is a dirty trick to say at least, don't use it, is not portable, is compiler dependent, is endian dependent, is probably broken and most impostant is unnecessary for you. :shock: rubbish Of course memcmp() is a standard function. But just compares RAM. Is the use of memcmp to compare struct ...
- Tue Sep 09, 2008 6:07 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: c/c++ question: comparing/sorting sctructs
- Replies: 41
- Views: 9059
Re: c/c++ question: comparing/sorting sctructs
Thank you all for your answers. Now please consider the special case of a struct with no pointers in it and the compiler switch to padding with 1 byte turned on. BTW does padding with 1 byte mean no padding bytes at all? The sizeof(structname) would be what we see in the code with no hidden bytes?....
- Thu Sep 04, 2008 10:04 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: c/c++ question: comparing/sorting sctructs
- Replies: 41
- Views: 9059
Re: c/c++ question: comparing/sorting sctructs
Ok. First the structs in c/c++ are traslated as: struct Board_type { long w; long b; long q; }; struct ClassicBook_type { Board_type brd; int score; unsigned char searchDepth; unsigned char flags; }; Ok now I consider you want compare variables of type ClassicBook_type on the Board_type (I'm guessin...
- Thu Sep 04, 2008 7:47 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: c/c++ question: comparing/sorting sctructs
- Replies: 41
- Views: 9059
Re: c/c++ question: comparing/sorting sctructs
Please post the struct you need to compare and tell what are the fields (if not all) on which make the comparison.
- Tue Sep 02, 2008 4:39 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Automatic save of screen question
- Replies: 4
- Views: 1861
Re: Automatic save of screen question
I think that it may be interesting to see chess source code not only in the final form but also during the construction of it and I think that there is more chances that we are going to see it if people have an easy way to save screens during the process. Uri Perhaps a version control system (http:...