all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: strings referred to by Vsjis_coding_system, Vbig5_coding_system
Date: Mon, 16 Nov 2009 21:08:05 -0800 (PST)	[thread overview]
Message-ID: <200911170508.nAH585Rh021954@godzilla.ics.uci.edu> (raw)
In-Reply-To: <tl7r5rxpxca.fsf@m17n.org> (Kenichi Handa's message of "Tue, 17 Nov 2009 13:52:05 +0900")

Kenichi Handa <handa@m17n.org> writes:

  > In article <200911161500.nAGF0KYN015109@godzilla.ics.uci.edu>, Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > > I can't find one at the moment, and unfortunately I did not save a
  > > debugging session.
  > > All the ones that I find at the moment are referred to from Vcoding_system_hash_table.
  > > Can you please figure out this one?
  > 
  > Ah, then I think that \377 string is to record safely
  > encodable character sets for each coding system.  If Nth
  > element is not \377, the charset whose ID is N is encodable
  > by that coding system.
  > 
  > And, yes, those strings can be in pure memory when created
  > by temacs.  But, note that one can change a definition of a
  > coding system at runtime (perhaps rarely happen) and it
  > makes the string in pure memory accessed from nowhere.

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?




  reply	other threads:[~2009-11-17  5:08 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 [this message]
2009-11-17  8:10         ` Kenichi Handa

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

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

  git send-email \
    --in-reply-to=200911170508.nAH585Rh021954@godzilla.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.