Subject: Re: [sv-ec] Last change from Arturo
From: Simon Davidmann (simon@his-home.demon.co.uk)
Date: Wed Apr 23 2003 - 00:21:42 PDT
I think the comment is wrong:
// an associative array of strings indexed by integers, default null string
string words [int] = {default: ''foo''};
it is indexed by '"int's" and not integers
and also
integer table [string] = {"Peter":20, "Paul":22, "Mary":23, default:-1 };
should really be
int table [string] = {"Peter":20, "Paul":22, "Mary":23, default:-1 };
as I can't see why we should be proliferating 4 state and not 2 state
variables as 4 state with associative arrays may be inefficient.
I think we need to remove all uses of 'integer' in the documentation where
'int' is all that is needed - we need to ensure that people get more used
to using more efficient constructs.
Simon
At 03:22 AM 4/23/2003, David W. Smith wrote:
>Here is the last change from Arturo.
>
>Regards
>David
>
>
>David W. Smith
>Synopsys Scientist
>
>Synopsys, Inc.
>Synopsys Technology Park
>2025 NW Cornelius Pass Road
>Hillsboro, OR 97124
>
>Voice: 503.547.6467
>Main: 503.547.6000
>FAX: 503.547.6906
>Email: <mailto:david.smith@synopsys.com>david.smith@synopsys.com
>http://www.synopsys.com
>
This archive was generated by hypermail 2b28 : Wed Apr 23 2003 - 00:25:58 PDT