From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs documentation sources Date: Fri, 28 Sep 2007 10:13:45 +0200 Message-ID: References: <711a73df0709260104l97cb41ft5fee3a882cef05c9@mail.gmail.com> <85ve9x431f.fsf@lola.goethe.zz> <85y7eseiom.fsf@lola.goethe.zz> <858x6reucb.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1190967284 8829 80.91.229.12 (28 Sep 2007 08:14:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 08:14:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 28 10:14:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IbAzf-00035d-Ie for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 10:14:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbAzb-0000fd-6n for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 04:14:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbAys-00006y-0z for help-gnu-emacs@gnu.org; Fri, 28 Sep 2007 04:13:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbAyq-0008Vo-1Z for help-gnu-emacs@gnu.org; Fri, 28 Sep 2007 04:13:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbAyp-0008VY-RD for help-gnu-emacs@gnu.org; Fri, 28 Sep 2007 04:13:47 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbAyp-0005vj-K0 for help-gnu-emacs@gnu.org; Fri, 28 Sep 2007 04:13:47 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-198-199.inter.net.il [83.130.198.199]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id HXG78821 (AUTH halo1); Fri, 28 Sep 2007 10:11:05 +0200 (IST) In-reply-to: <858x6reucb.fsf@lola.goethe.zz> (message from David Kastrup on Thu, 27 Sep 2007 22:17:40 +0200) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47944 Archived-At: > From: David Kastrup > Date: Thu, 27 Sep 2007 22:17:40 +0200 > > > Do you really claim that the size of DOC strings is of no concern at > > all? > > Since they reside in the .elc files and/or the DOC file and are only > ever loaded into memory temporarily when they are actually consulted, > they take up only disk space, not main memory. Just like the manual. Perhaps you should re-read th relevant sources before you make such assertions. What I see there is that each displayed doc string is kept in memory twice, and it remains in memory until the next GC. So, temporary or not, the doc strings do in fact occupy memory for more than a split second.