# HG changeset patch # User Kenichi Handa # Date 1072438762 0 # Node ID 0c88991a93ee87a21aace7bd2501bc02172a92b2 # Parent 767b85819555042536738beb0fabc012a92d4a90 *** empty log message *** diff -r 767b85819555 -r 0c88991a93ee src/composite.c --- a/src/composite.c Thu Dec 25 20:20:50 2003 +0000 +++ b/src/composite.c Fri Dec 26 11:39:22 2003 +0000 @@ -842,9 +842,12 @@ args[0] = QCtest; args[1] = Qequal; + /* We used to make the hash table weak so that unreferenced + compostions can be garbage-collected. But, usually once + created compositions are repeatedly used in an Emacs session, + and thus it's not worth to save memory in such a way. So, we + make the table not weak. */ args[2] = QCweakness; - /* Fixme: It seems that a weak hash table leads to segfault in GC, - but I have not yet found why. -- handa@m17n.org */ args[3] = Qnil; args[4] = QCsize; args[5] = make_number (311);