🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #308817

Re: Jaki dobry profiler?

#308817
From: Borneq
Date: Wed, 05 Oct 2016 00:19
14 lines
1634 bytes
W dniu 04.10.2016 o 23:25, Borneq pisze:
> W dniu 04.10.2016 o 23:22, Borneq pisze:
>> i nawet specjalnie nie zwolnił na testowym programie.
>
> A może jednak zwolnił, tylko wcześniej zabiłem

To co się okazało: w działaniach na bitach, gdzie adres wyliczam przez 
bit/8, VC++ nawet w release nie potrafi zamienić /8 na >>3, ale może 
dlatego że przy optymalizacjach musi być dokładnie ten sam wynik a 
liczba bitów była tu całkowita a nie naturalna więc wywołuje procedurę. 
Zmiana ta przyśpieszyła znacznie działanie testowego programu sita 
Erastotenesa na bitach.
Trzeba pamiętać że kompilatory często nie optymalizują dzielenia przez 
stała 2^n
Technical Details
Message-ID: <nt1gua$mhp$1@node1.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <nt0r2c$i6$1@node1.news.atman.pl> <nt0sin$203$1@node1.news.atman.pl> <nt16ie$cc3$1@node1.news.atman.pl> <nt16ou$cc3$2@node1.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Borneq <borneq@antyspam.hidden.pl>
Newsgroups: pl.comp.lang.c
Subject: Re: Jaki dobry profiler?
Date: Wed, 5 Oct 2016 02:19:23 +0200
Organization: ATMAN - ATM S.A.
Lines: 14
Message-ID: <nt1gua$mhp$1@node1.news.atman.pl>
References: <nt0r2c$i6$1@node1.news.atman.pl> <nt0sin$203$1@node1.news.atman.pl> <nt16ie$cc3$1@node1.news.atman.pl> <nt16ou$cc3$2@node1.news.atman.pl>
NNTP-Posting-Host: 91.239.205.105
Mime-Version: 1.0
X-Trace: node1.news.atman.pl 1475626762 23097 91.239.205.105 (5 Oct 2016 00:19:22 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Wed, 5 Oct 2016 00:19:22 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
In-Reply-To: <nt16ou$cc3$2@node1.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit