[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature/native-comp ec88bdb 1/4: * Add a simple growable vector like
From: |
Pip Cet |
Subject: |
Re: feature/native-comp ec88bdb 1/4: * Add a simple growable vector like type |
Date: |
Thu, 25 Feb 2021 09:36:03 +0000 |
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