Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Removed arbitrary limitations on array accesses
- X-seq: zsh-workers 27562
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Removed arbitrary limitations on array accesses
- Date: Tue, 5 Jan 2010 09:48:29 +0000
- Cc: Michael Hwang <michael.a.hwang@xxxxxxxxx>
- In-reply-to: <1262655497-21263-1-git-send-email-michael.a.hwang@xxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: CSR
- References: <y> <1262655497-21263-1-git-send-email-michael.a.hwang@xxxxxxxxx>
On Mon, 4 Jan 2010 20:38:17 -0500
Michael Hwang <michael.a.hwang@xxxxxxxxx> wrote:
> This issue was brought up on IRC. It appears that while there is no limit on
> how many array elements can be stored, there is a limit to how many can be
> accessed. This patch removes these limits.
Those have been there for a long time. I don't have any evidence that
they're doing a lot of good but we have had people creating positional
parameters with <long_number>=something and wondering why it uses a lot of
memory. I suppose this is similar. The arbitrary limit is not very
useful and also undocumented; most people wouldn't miss it if it wasn't
there, certainly.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author