From c7211bc5311e640b212da5c3bf780ac10ce5a08f Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 26 Dec 2003 11:39:22 +0000 Subject: [PATCH] *** empty log message *** --- src/composite.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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); -- 2.39.2