changeset 53316:0c88991a93ee

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Fri, 26 Dec 2003 11:39:22 +0000
parents 767b85819555
children 2ca480ce7e51
files src/composite.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);