[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is the underlying data structure of $@?
From: |
Chet Ramey |
Subject: |
Re: What is the underlying data structure of $@? |
Date: |
Fri, 21 May 2021 20:01:44 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 |
On 5/21/21 6:11 PM, Peng Yu wrote:
Hi,
$@ allows shift and random access, but not element-wise mutation. What
is the underlying data structure of it? A linked list, an array
Yes.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/