Mirror of git://xwords.git.sourceforge.net/gitroot/xwords/xwords
Find a file
Andy2 b722cc5f65 use a reference to a byte array in the java heap (locking down the
object) rather than allocating a new array in the C heap -- for the
DAWG data of a dictionary.  This can use up to 5% of the java heap for
huge dictionaries, but I'm hoping it fixes a problem reported by a
user of the large German dictionary that seems to involve allocation.
If I'm reading correctly, as long as I stay within 16M (24M or more on
newer devices) I'm sure to get my memory in the java world while it's
less a sure thing in the JNI world (where in addition linux's
aggressive overallocation is used, meaning I'll fail when I try to
swap in memory on write rather than get back NULL from malloc.)
2011-01-31 18:55:44 -08:00
xwords4 use a reference to a byte array in the java heap (locking down the 2011-01-31 18:55:44 -08:00
.gitignore hide all apk files 2010-06-06 08:59:15 -07:00