Mercurial > emacs
changeset 89706:1c9ca166e872
(syms_of_composite): Fix comment.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 15 Jan 2004 02:43:15 +0000 |
parents | 412518f2feab |
children | 63ecd4967d24 |
files | src/composite.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/composite.c Thu Jan 15 02:16:11 2004 +0000 +++ b/src/composite.c Thu Jan 15 02:43:15 2004 +0000 @@ -755,8 +755,11 @@ 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);