From: Kenichi Handa Date: Fri, 26 Dec 2003 11:39:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ttn-vms-21-2-B4~8154 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7211bc5311e640b212da5c3bf780ac10ce5a08f;p=emacs.git *** empty log message *** --- diff --git a/src/composite.c b/src/composite.c index b4e931c6a20..f8e655a3685 100644 --- a/src/composite.c +++ b/src/composite.c @@ -842,9 +842,12 @@ syms_of_composite () 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);