[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] DFA space savings
From: |
Trevor Morris |
Subject: |
[gnugo-devel] DFA space savings |
Date: |
Thu, 07 Nov 2002 11:09:02 -0500 |
http://www.public32.com/games/go/trevor_3_12.3
- new struct dfa_rt_t allows different run-time DFA structure from build-time
- reduces executable size by 10%
No speed difference, but the size improvement is probably worth putting
the patch in anyway. I believe by using unsigned chars that it will be
platform independent. The patch is also a good step towards making other DFA
optimization experiments easier.
Hm... I just noticed that I left in the "__inline", which works fine under both
VC and Cygwin. Has anyone who groks configure looked into creating a
GG_INLINE? In case I haven't voted, I think it's a good idea.
-Trevor