[ksh93-integration-discuss] Maximum string length in ksh?
Roland Mainz
roland.mainz at nrubsig.org
Fri Aug 24 21:51:57 PDT 2007
David Korn wrote:
>
> Subject: Re: Re: [ksh93-integration-discuss] Maximum string length in ksh?
> --------
>
> > ksh88 in Solaris is slightly different, AFAIK there is an array size
> > limit of 4096 entries and string length was AFAIK limited, too (but I am
> > not sure... maybe I am wrong...).
>
> ksh88 had an array size limit of 511 or 1023 which was increased to 4095 when
> ksh93 was first released. Also, ksh93 supports associative arrays.
> For an associative array, the subscript is a string rather than an arithmetic
> expression. There is no limit to the number of elements in an associate array.
>
> In ksh93n (released in 2002), the indexed array size was changed to 67,108,863.
> although it was incorrectly documented as 16Megs.
Just curious: Why is there a limit ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the ksh93-integration-discuss
mailing list