Deutsch   English   Français   Italiano  
<20240320104155.00005b24@yahoo.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: filling area by color atack safety
Date: Wed, 20 Mar 2024 10:41:55 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <20240320104155.00005b24@yahoo.com>
References: <ut3669$21eur$1@i2pn2.org>
	<ut4020$2s8ov$1@dont-email.me>
	<20240317144625.00002011@yahoo.com>
	<utd9m5$2eb2n$1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="92be935da1beff2666dcf9ddcb3e2080";
	logging-data="1476478"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+2gRi0SpeydQove96U10Wj8nub1ZWDt8c="
Cancel-Lock: sha1:7NgkX9j22KyQWiInXHackBtK3qs=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
Bytes: 1580

On Wed, 20 Mar 2024 01:13:10 +0100
fir <fir@grunge.pl> wrote:
> 
> i asked the topic here as i felt i got no time to rethink if it will 
> blow my progranm or not but that 30 minurtes task was for 30 minutes
> not for a multi hour discusion
> 

So you got the answer rather quickly and the answer is:
"Yes, in the worst case it can consume a lot of stack. Don't use this
simple and elegant algorithm unless you have full control both on size
of the images and on size of the stack and on size of the stack frame
generates by compiler for each recursive call."