From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: strings referred to by Vsjis_coding_system, Vbig5_coding_system Date: Tue, 17 Nov 2009 17:10:33 +0900 Message-ID: References: <200911112142.nABLgZwS024554@godzilla.ics.uci.edu> <200911161500.nAGF0KYN015109@godzilla.ics.uci.edu> <200911170508.nAH585Rh021954@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258445457 1324 80.91.229.12 (17 Nov 2009 08:10:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 08:10:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 09:10:50 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAJ9E-0006CW-JY for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 09:10:49 +0100 Original-Received: from localhost ([127.0.0.1]:41876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAJ9D-0008AE-MY for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 03:10:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAJ98-00089t-J2 for emacs-devel@gnu.org; Tue, 17 Nov 2009 03:10:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAJ94-00089O-S6 for emacs-devel@gnu.org; Tue, 17 Nov 2009 03:10:42 -0500 Original-Received: from [199.232.76.173] (port=56194 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAJ94-00089L-Jd for emacs-devel@gnu.org; Tue, 17 Nov 2009 03:10:38 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:43096) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAJ94-0000BG-23 for emacs-devel@gnu.org; Tue, 17 Nov 2009 03:10:38 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAJ92-0002sa-Vr for emacs-devel@gnu.org; Tue, 17 Nov 2009 03:10:37 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id nAH8AY3R027838; Tue, 17 Nov 2009 17:10:34 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id nAH8AYdJ010123; Tue, 17 Nov 2009 17:10:34 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id nAH8AXll012201; Tue, 17 Nov 2009 17:10:33 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1NAJ8z-0007Nn-Jh; Tue, 17 Nov 2009 17:10:33 +0900 In-Reply-To: <200911170508.nAH585Rh021954@godzilla.ics.uci.edu> (message from Dan Nicolaescu on Mon, 16 Nov 2009 21:08:05 -0800 (PST)) X-detected-operating-system: by mx20.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117069 Archived-At: In article <200911170508.nAH585Rh021954@godzilla.ics.uci.edu>, Dan Nicolaescu 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