[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] dfa bug workaround
From: |
Teun Burgers |
Subject: |
[gnugo-devel] dfa bug workaround |
Date: |
Wed, 24 Oct 2001 22:56:02 +0200 |
Some more experimentation turned up one "fix"
for the dfa bug. This works for cygwin.
Does this work on other platforms too?
Teun
Index: dfa.h
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/dfa.h,v
retrieving revision 1.6
diff -u -r1.6 dfa.h
--- dfa.h 2001/10/02 23:49:22 1.6
+++ dfa.h 2001/10/24 20:50:36
@@ -40,8 +40,8 @@
#define MAX_ORDER DFA_MAX_BOARD*DFA_MAX_BOARD*4
/* maximum pattern matched at one positions */
#define DFA_MAX_MATCHED 8*400
-#define DFA_RESIZE_STEP 0x20000
-#define DFA_INIT_SIZE 0X100
+#define DFA_RESIZE_STEP 20000
+#define DFA_INIT_SIZE 50000
#ifndef EMPTY
#define EMPTY 0 /* . */
#define WHITE 1 /* O */
- [gnugo-devel] dfa bug workaround,
Teun Burgers <=