unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pip Cet <pipcet@gmail.com>
To: rms@gnu.org
Cc: Andrea Corallo <akrl@sdf.org>, emacs-devel@gnu.org
Subject: Re: feature/native-comp ec88bdb 1/4: * Add a simple growable vector like type
Date: Thu, 25 Feb 2021 09:36:03 +0000	[thread overview]
Message-ID: <CAOqdjBdWbuzEScO+nX0HL7cQQ0oRc4mA2oe9sNTZgeLqE5a2pA@mail.gmail.com> (raw)
In-Reply-To: <E1lF9Oy-0005hl-TA@fencepost.gnu.org>

On Thu, Feb 25, 2021 at 5:41 AM Richard Stallman <rms@gnu.org> wrote:
> What is the fesature that you're adding?  I searched back to mid-December
> and found no other message with "growable" in it.

(I'm taking the liberty of responding because I understand Andrea
doesn't have time).

No user-visible feature is being added.

It's an internal data type for use by the compiler, essentially a hash
table indexed by integers (which may be negative) that keeps track of
the maximum and minimum assigned index values.

This simulates a vector that grows automatically, like JavaScript
arrays do, but it's not very fast (it doesn't have to be for this
application) and, if I understand correctly, not intended for general
use.

Pip



  reply	other threads:[~2021-02-25  9:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210223232452.24251.9558@vcs0.savannah.gnu.org>
     [not found] ` <20210223232455.52DE320B76@vcs0.savannah.gnu.org>
2021-02-24  4:46   ` feature/native-comp ec88bdb 1/4: * Add a simple growable vector like type Pip Cet
2021-02-25  5:41     ` Richard Stallman
2021-02-25  9:36       ` Pip Cet [this message]
2021-02-26  6:39         ` Richard Stallman
2021-02-26  9:10           ` Robert Pluim
2021-02-28  6:11             ` Richard Stallman
     [not found] ` <20210223232455.DB6F320536@vcs0.savannah.gnu.org>
2021-02-24  5:41   ` feature/native-comp bddd7a2 3/4: Do not emit assumptions referencing clobbered mvars (bug#46670) Pip Cet

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAOqdjBdWbuzEScO+nX0HL7cQQ0oRc4mA2oe9sNTZgeLqE5a2pA@mail.gmail.com \
    --to=pipcet@gmail.com \
    --cc=akrl@sdf.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).