unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: strings referred to by Vsjis_coding_system, Vbig5_coding_system
Date: Tue, 17 Nov 2009 17:10:33 +0900	[thread overview]
Message-ID: <tl7iqd9po5i.fsf@m17n.org> (raw)
In-Reply-To: <200911170508.nAH585Rh021954@godzilla.ics.uci.edu> (message from Dan Nicolaescu on Mon, 16 Nov 2009 21:08:05 -0800 (PST))

In article <200911170508.nAH585Rh021954@godzilla.ics.uci.edu>, Dan Nicolaescu <dann@ics.uci.edu> writes:

> That's fine, instead of everyone having to pay the price of GCing all
> those strings, it's not too bad if they are dead in the very rare case
> the coding system is changed at runtime.

> Are there any other parts of the coding system that are in GC memory and
> can be put in pure memory?

A value of Vcoding_system_hash_table is a attributes vector
of a coding system.  An element of this vector is indexed by
enum coding_attr_index (in coding.h).  Among those elements,
I think these can be in pure.

coding_attr_docstring (string)
coding_attr_safe_charsets (string)
coding_attr_charset_valids (vector)
coding_attr_iso_initial (vector)
coding_attr_iso_usage (cons)
coding_attr_iso_request (cons)

---
Kenichi Handa
handa@m17n.org




      reply	other threads:[~2009-11-17  8:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-11 21:42 strings referred to by Vsjis_coding_system, Vbig5_coding_system Dan Nicolaescu
2009-11-16 13:01 ` Kenichi Handa
2009-11-16 15:00   ` Dan Nicolaescu
2009-11-17  4:52     ` Kenichi Handa
2009-11-17  5:08       ` Dan Nicolaescu
2009-11-17  8:10         ` Kenichi Handa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tl7iqd9po5i.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).