Liste des Groupes | Revenir à cl c |
Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:It seems the most likely. People don't run programs whose sole purpose is to floodfill, so that they can request a huge stack.On 18/03/2024 16:28, David Brown wrote:The first sentence is correct. Although with modern systems, 'small'On 18/03/2024 10:26, Malcolm McLean wrote:>
>
It is completely normal for correctness proofs to make assumptions about
things like resources. An analysis of your code for correctness would
also generally assume that the heap would be big enough - if the heap
runs out, your code will not correctly flood-fill the image. Analysis
of efficiency in time and space is a separate issue - related, but
separate. Things like maximum recursion depth (and heap size) are very
implementation-specific, and thus need to be considered separately from
the algorithm itself.
>
It's trivial to engineer a system with a large stack and very small
heap. But unlikley anyone would actually do so on a system on which
floodfill would run.
is relative (my 12 year old workstation has 16GB RAM) and defaults
to an 8MB stack, which can easily be increased on a per process or
per user basis.
The second is your opinion. What evidence do you have that
your opinion is fact?
Les messages affichés proviennent d'usenet.