RE: [sv-ec] Associative Array questions

From: Rich, Dave <Dave_Rich_at_.....>
Date: Tue Nov 15 2005 - 08:17:52 PST
Comments below. BTW, are you filing mantis issues on these?

Dave


> 
>  <<Bresticker, Shalom.vcf>> Hi,
> Some points in 5.9-5.10:
> 
> - In 5.9: "It shall be illegal for index_type to declare a type." -
What
> does this mean?
[DR>] I believe this was to prevent declaration of an anonymous type. I
don't think this restriction is really necessary. You would only be able
to index the array with a constant value, but that is reasonable usage.
> 
> - Presumably the statement that "A 4-state index containing X or Z is
> invalid." should appear in 5.9.5 ("Signed packed array") as well.
[DR>] I agree
> 
> - The word "Index" should be uncapitalized in 5.9.1 and 5.9.6.
> 
> - In Table 5-1, real type is missing.
[DR>] I think reals should be excluded as an index type
> 
> - In 5.10: "If the argument passed to any of the four associative
array
> traversal methods first, last, next, and prev is smaller than the size
of
> the corresponding index, then the function returns -1 and shall copy
only
> as much data as can fit into the argument." - Does "smaller than the
size"
> mean that it is not large enough to contain the value? For example,
what
> if the index type is integer (32 bits), but the value is 0 (only 1 bit
> needed)?
[DR>] This section should be re-written to say that the argument must be
assignment compatible with the index type, and will return -1 if
truncation occurs.
> 
> Thanks,
> Shalom Bresticker
> Intel Jerusalem LAD DA
> +972 2 589-6852
> I don't represent Intel
Received on Tue Nov 15 08:18:03 2005

This archive was generated by hypermail 2.1.8 : Tue Nov 15 2005 - 08:18:56 PST