From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Generic stack I can use in C core? Date: Fri, 23 Sep 2022 12:24:45 -0700 Message-ID: <52CE9A48-5F88-4228-9F12-7C6287FE96D3@gmail.com> References: <3C69BDE1-2B31-4FD5-BB8C-81F83116D239@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2610"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 23 21:26:33 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 1oboJk-0000XS-F3 for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 21:26:32 +0200 Original-Received: from localhost ([::1]:36464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oboJi-0001Dj-7S for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 15:26:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oboI6-0000FI-8p for emacs-devel@gnu.org; Fri, 23 Sep 2022 15:24:50 -0400 Original-Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:38812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oboI4-00016l-Nn for emacs-devel@gnu.org; Fri, 23 Sep 2022 15:24:49 -0400 Original-Received: by mail-pj1-x1036.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so6789410pjq.3 for ; Fri, 23 Sep 2022 12:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date; bh=h4qJAtGVlbaHM+7aZx3njcSa91+4Na4KSUXirwqV/jc=; b=PfMS/LQBJH5d0qH74EPs9QVB90tNJ2laO0JhTvt9tdeEfKkiP/f587gp2OLAl0CZ4E xGu83gPYKVzAyRymLZzErmWlfpZxbg2T7e+pSdCqV13Z+1GcJAo91+7tDPQRhBPqlB93 ln7G1BwUWcJ9DM871o22Rl8Ux4F2DtFITYZNO7ZmTpdH1Xx8wv8NUH/r0bLg+tm2yPmN NrwQxPBgrpHa1jRyfaD3gSJ3YVNPUzZvj+EMKcspw538PquvnFZuULNST6xvsoRqctsK 1qUJ/WetLeVaXalms+FyboY5bcxX+sjRgUWxKN0p/VBpUzepf+4c2zjE7F5OSgQTkVWi yRGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date; bh=h4qJAtGVlbaHM+7aZx3njcSa91+4Na4KSUXirwqV/jc=; b=PbgtIbzh0Muzvf2rns3E1GFjKgR4VCBUZFMoTJkUCRtYfb5/TFgnWu2oKkHmL6llJE 7LUUvF6Lv/qTHqbbfqUvaX5NhS4sEFmivaXniUYeq6NeRcwJ7TNIRdI+5JGEZ5DVrhK8 CGN/vxcnlA3yO27cKnhy0JIpA6qiQSOHytxLbqmiv9s0MAiS8iFIDfPvR2F7yFlGoWF9 MtdHUwHtcl/Sv7LCFh2q9x80zWhlyNQD//9+3oMfZopA0uottvjfS48OuO+IRSTlm/Bi 0259X9FwOlyno9NNei2O7wt4D1xi06M4BvTiEnj0yxNk2EZJszQzL1mU++X6TENCP/e8 Y0jg== X-Gm-Message-State: ACrzQf0E3nwRhCg4lYRpvCa30U7Y8l/kiyUxbpzIToFXIBriDnikgZdE 0v/L3yV2N0xiIqW5mKmyZPACUDctVUo= X-Google-Smtp-Source: AMsMyM6YCm30nDN/4Mi9gHaY4oHyweNiE2V8gNDWFGqjAO0iBwQs9KCe+UQb9IcmSSnFIqqFZQ6L0g== X-Received: by 2002:a17:90b:4d0e:b0:1f7:ae99:4d7f with SMTP id mw14-20020a17090b4d0e00b001f7ae994d7fmr22308853pjb.200.1663961086909; Fri, 23 Sep 2022 12:24:46 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id f17-20020a17090aa79100b00203125b6394sm1914852pjq.40.2022.09.23.12.24.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Sep 2022 12:24:46 -0700 (PDT) In-Reply-To: <3C69BDE1-2B31-4FD5-BB8C-81F83116D239@gmail.com> X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=casouri@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296084 Archived-At: > On Sep 23, 2022, at 12:20 PM, Yuan Fu wrote: >=20 > Is there a generic stack data structure that I use in the C core? = Something that automatically grows and shrinks? *Something that allocates a chunk of memory to store the nodes and = automatically grows and shrinks and copies stuff over. Yuan=