mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
977feada82
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.) |
||
---|---|---|
.. | ||
anddict.c | ||
anddict.h | ||
andglobals.h | ||
Android.mk | ||
andutils.c | ||
andutils.h | ||
drawwrapper.c | ||
drawwrapper.h | ||
jniutlswrapper.c | ||
jniutlswrapper.h | ||
LocalizedStrIncludes.h | ||
utils.c | ||
utilwrapper.c | ||
utilwrapper.h | ||
xportwrapper.c | ||
xportwrapper.h | ||
xptypes.h | ||
xwjni.c |