Article View: pl.comp.os.linux.programowanie
Article #60109Re: Jak zrobić program obliczający dużą silnię?
From: Pawel Gancarz
Date: Wed, 26 Oct 2005 10:10
Date: Wed, 26 Oct 2005 10:10
13 lines
1997 bytes
1997 bytes
Dnia 26.10.2005 Jacek Popławski <jpopl@interia.pl> napisał/a: > Pawel Gancarz wrote: >> Wydaje mi się, że wersja z 'goto' jest wydajniejsza, bo oszczędza na >> kosztach wywołania funcji. Jeśli się mylę, niech mnie ktoś poprawi. > > Czy możesz podać szacowany wzrost wydajności w takim przypadku i > uzasadnienie, że w jakimś zastosowaniu ten wzrost ma znaczenie i warto w > tym celu poświęcić czytelność programu? Ja tylko zwróciłem uwagę na drobną różnicę, czysto teoretyczną i bez znaczenia. Nie znaczy to, że sam użyłbym takiej konstrukcji. -- pgancarz, at, o2, pl
Technical Details
Message-ID:
<slrndlulg0.2vr.in_the_sig@localhost.localdomain>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<djfrn5$i55$1@nemesis.news.tpi.pl> <dji80k$2a5$2@atlantis.news.tpi.pl> <20051024135514.GA237@siebert> <djij31$st1$1@sunnews.cern.ch> <20051024162624.GA1132@siebert> <djleog$fok$1@nemesis.news.tpi.pl> <1t4bv9mozvw38.12szxw58iqmbp.dlg@40tude.net> <djn9lh$ktl$1@nemesis.news.tpi.pl> <djndtr$7s8$1@atlantis.news.tpi.pl> <djnef1$95n$1@nemesis.news.tpi.pl> <slrndlugci.2vr.in_the_sig@localhost.localdomain> <djnjsg$suk$1@nemesis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Pawel Gancarz <in_the_sig@berdyczow.pl> Newsgroups: pl.comp.os.linux.programowanie Subject: Re: Jak zrobić program obliczający dużą silnię? Date: Wed, 26 Oct 2005 10:10:03 +0000 (UTC) Organization: tp.internet - http://www.tpi.pl/ Lines: 13 Message-ID: <slrndlulg0.2vr.in_the_sig@localhost.localdomain> References: <djfrn5$i55$1@nemesis.news.tpi.pl> <dji80k$2a5$2@atlantis.news.tpi.pl> <20051024135514.GA237@siebert> <djij31$st1$1@sunnews.cern.ch> <20051024162624.GA1132@siebert> <djleog$fok$1@nemesis.news.tpi.pl> <1t4bv9mozvw38.12szxw58iqmbp.dlg@40tude.net> <djn9lh$ktl$1@nemesis.news.tpi.pl> <djndtr$7s8$1@atlantis.news.tpi.pl> <djnef1$95n$1@nemesis.news.tpi.pl> <slrndlugci.2vr.in_the_sig@localhost.localdomain> <djnjsg$suk$1@nemesis.news.tpi.pl> Reply-To: in_the_sig@berdyczow.pl NNTP-Posting-Host: dva168.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1130321403 3403 83.22.34.168 (26 Oct 2005 10:10:03 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Wed, 26 Oct 2005 10:10:03 +0000 (UTC) User-Agent: slrn/0.9.8.1 (Debian) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit