🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15248

Re: Tableau: différence entre pile et tas

#15248
From: Jean-Marc Bourguet
Date: Mon, 03 Oct 2005 07:02
23 lines
2312 bytes
"Emmanuel Delahaye" <emdel@YOURBRAnoos.fr> writes:

> > L'utilisation de la pile est dynamique, et avoir un objet de 1000 bytes
> > dans une fonction appel� une fois est moins g�nant que d'avoir un objet
> > de 10 bytes dans une fonction qui s'appelle r�cursivement 1000 fois.
> 
> Un warning sur les appels r�cursifs non d�sir�s (avec les fonctions
> 'static', bien s�r) m'irait bien aussi...
> 
> C'est probablement plus diffcile � d�tecter...

Le complique est de batir l'arbre d'appel complet.  Si on accepte de
fonctionner qu'avec ce qui est disponible dans un fichier, ce n'est
pas plus complique que de faire un tri topologique (il me semble que
gcc commence par un faire un pour decider s'il met en ligne ou non
certaines fonctions).

A+

-- 
Jean-Marc
FAQ de fclc:       http://www.isty-info.uvsq.fr/~rumeau/fclc
Site de usenet-fr: http://www.usenet-fr.news.eu.org
Technical Details
Message-ID: <pxbhdbz84mv.fsf@news.bourguet.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!infeed-1.proxad.net!news18-e.free.fr!not-for-mail
References: <1127923112.347881.79740@z14g2000cwz.googlegroups.com> <433c3502$0$17236$8fcfb975@news.wanadoo.fr> <1128062877.527491.168280@g49g2000cwa.googlegroups.com> <433d1e98$0$5409$8fcfb975@news.wanadoo.fr> <1128080997.753599.258340@g49g2000cwa.googlegroups.com> <mn.f3ba7d592302afb8.31483@laposte.net> <1128095986.321098.217870@g47g2000cwa.googlegroups.com> <dhjoah$bd4$1@shakotay.alphanet.ch> <mn.f4f37d59af0a936c.15512@YOURBRAnoos.fr> <433d902b$0$7830$8fcfb975@news.wanadoo.fr> <mn.0a8d7d5a109bd49e.15512@YOURBRAnoos.fr> <433e6444$0$12992$7a628cd7@news.club-internet.fr> <mn.0b137d5a0c1ab91e.15512@YOURBRAnoos.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,9ee84542aed426f5
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!infeed-1.proxad.net!news18-e.free.fr!not-for-mail
Newsgroups: fr.comp.lang.c
Subject: Re: Tableau: différence entre pile et tas
References: <1127923112.347881.79740@z14g2000cwz.googlegroups.com> <433c3502$0$17236$8fcfb975@news.wanadoo.fr> <1128062877.527491.168280@g49g2000cwa.googlegroups.com> <433d1e98$0$5409$8fcfb975@news.wanadoo.fr> <1128080997.753599.258340@g49g2000cwa.googlegroups.com> <mn.f3ba7d592302afb8.31483@laposte.net> <1128095986.321098.217870@g47g2000cwa.googlegroups.com> <dhjoah$bd4$1@shakotay.alphanet.ch> <mn.f4f37d59af0a936c.15512@YOURBRAnoos.fr> <433d902b$0$7830$8fcfb975@news.wanadoo.fr> <mn.0a8d7d5a109bd49e.15512@YOURBRAnoos.fr> <433e6444$0$12992$7a628cd7@news.club-internet.fr> <mn.0b137d5a0c1ab91e.15512@YOURBRAnoos.fr>
From: Jean-Marc Bourguet <jm@bourguet.org>
Message-ID: <pxbhdbz84mv.fsf@news.bourguet.org>
Date: 03 Oct 2005 09:02:32 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
Lines: 23
Organization: Guest of ProXad - France
NNTP-Posting-Date: 03 Oct 2005 09:02:32 MEST
NNTP-Posting-Host: 213.131.238.28
X-Trace: 1128322952 news18-e.free.fr 31844 213.131.238.28:43827
X-Complaints-To: abuse@proxad.net