]> git.eshelyaron.com Git - emacs.git/commitdiff
(syms_of_composite): Fix comment.
authorKenichi Handa <handa@m17n.org>
Thu, 15 Jan 2004 02:43:15 +0000 (02:43 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 15 Jan 2004 02:43:15 +0000 (02:43 +0000)
src/composite.c

index a81ac3182b9470f02c3a7005b4d2364302aea36e..ea85e2fa50665ab900a933d5622fd46dbac35982 100644 (file)
@@ -755,8 +755,11 @@ syms_of_composite ()
     args[0] = QCtest;
     args[1] = Qequal;
     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 */
+    /* 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[3] = Qnil;
     args[4] = QCsize;
     args[5] = make_number (311);