From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: question about Qnil representation Date: Wed, 26 Oct 2022 22:03:33 +0300 Message-ID: <83pmeemmpm.fsf@gnu.org> References: <5a560265-fa81-42d2-945b-ab85d72df9e6@Spark> <5a00e93e-5f44-4865-aeeb-51f0aced9996@Spark> <87ilk6a7be.fsf@rfc20.org> <83wn8mmt49.fsf@gnu.org> <168eb4b5-40be-43dc-8501-dc9f4c65c56f@Spark> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1553"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, matt@rfc20.org To: Troy Hinckley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 26 21:06:45 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onljh-0000De-3P for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Oct 2022 21:06:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onlgo-0006Wa-Fi; Wed, 26 Oct 2022 15:03:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onlgm-0006PQ-4X for emacs-devel@gnu.org; Wed, 26 Oct 2022 15:03:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onlgl-0007kT-LR; Wed, 26 Oct 2022 15:03:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KFpWFN28v3P1QZVLnhPNLaZ3McD+Nov2DqywaTTBzcs=; b=Eu+Ncni9xfGw 2R0oqytnI5RLOokFbi5bUfG+rCVECfPF65UDtZKh7sd7UwVPwBfwLAOp1IjNcVaR9LRl6ONE2RN94 cCrdpIEaDmeS6916HQZtFwqLYsinNYMu+nu9RHhArA+aZI9JEYOj+PPVMQd/ZxPO1910ZE75cWZSl TGYb8fDtXhJfYuFc93S4F0pHSRZwwru1UHbUioF0koQ+k0sG4zHL0X1FlwDYOPlolLgSDTOPp6TjH HP6tkID0Bzi98rHyvk10vwogyvdfsuQJYzT5vCKOkTOEttFXn3+kkV15XClYvL/nmsDxG7ecZZS+O CHgOvP2SpdGFkdROGQI6DQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onlgl-0006IF-32; Wed, 26 Oct 2022 15:03:43 -0400 In-Reply-To: <168eb4b5-40be-43dc-8501-dc9f4c65c56f@Spark> (message from Troy Hinckley on Wed, 26 Oct 2022 12:46:39 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298575 Archived-At: > Date: Wed, 26 Oct 2022 12:46:39 -0600 > From: Troy Hinckley > Cc: emacs-devel@gnu.org, matt@rfc20.org > > Ah, thank you. So it is not a pointer but an index. Is lispsym array resizable or is there a static limit to the > number of symbols? The built-in symbols are in a static array. Its size is computed at build time, when the globals.h header file is produced, and it is large enough to hold all the DEFSYM symbols defined in the C sources.