Christoph Grein writes:
>My favorites in descending order:
> The alternative package Streams.Storage.Bounded provides more predictable
> memory usage than the Streams.Storage.Unbounded package.
I had forgotten that I had previously suggested this (the problem with
reading only the unread messages in the thread). This is better than my
recent suggestion.
>We know this difference already from the container packages.
Right, but those occur after this subclause (so a linear reader will not
have encountered them yet). We try to avoid forward references as much as
possible. That's why I suggested (and used):
> The package Streams.Storage.Bounded provides more predictable memory
usage
> than the Streams.Storage.Unbounded package, at the cost of needing to
> determine a maximum number of stream elements that can be stored.
I note that the phrase "more predictable memory usage" comes from
A.18(5.j/3). That note doesn't explain the trade-off, it seems reasonable to
do so somewhere.
Randy.
________________________________________________________
You have received this message because you subscribed to the Ada-Comment
mailing list. To leave the Ada-Comment list, send an email with
'leave Ada-Comment' in the body to [email protected]. For help
on the other commands available, send 'help Ada-Comment' to the same address.
Problems? Send mail to [email protected]. This list is operated by the
Ada Resource Association, Inc., PO Box 8685, New York NY 10116-8685.