]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKenichi Handa <handa@m17n.org>
Fri, 26 Dec 2003 11:39:22 +0000 (11:39 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 26 Dec 2003 11:39:22 +0000 (11:39 +0000)
src/composite.c

index b4e931c6a20883ed26effba5bec19a612cb87158..f8e655a36851c20285634927fda5c8b2fe58db75 100644 (file)
@@ -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);