Subject: Re: [sv-ec] Last change from Arturo
From: Arturo Salz (Arturo.Salz@synopsys.com)
Date: Wed Apr 23 2003 - 08:54:36 PDT
A new version that addresses Simon's comments is attached.
Arturo
----- Original Message -----
From: Simon Davidmann
To: David W. Smith ; sv-ec@eda.org
Sent: Wednesday, April 23, 2003 12:21 AM
Subject: Re: [sv-ec] Last change from Arturo
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: david.smith@synopsys.com
http://www.synopsys.com
This archive was generated by hypermail 2b28 : Wed Apr 23 2003 - 09:03:30 PDT