iamLovingJerk / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

minor code enhancement in validator.py #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
attached the .diff file

Original issue reported on code.google.com by gbtami on 29 Dec 2006 at 10:57

Attachments:

GoogleCodeExporter commented 9 years ago
The bishop/rookDirection variables are probably a clever change, but the other 
change
of using a dictionary instead of a pair of ifs, I have tried before, and it 
gave me
much slower profile times.

Original comment by lobais on 1 Jan 2007 at 6:55