🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.objects
Article #15996

Re: Strumień filtering_stream tworzony dwuetapowo przy pomocy biblioteki boost.IOStreams

#15996
From: A.L.
Date: Sat, 31 Mar 2007 03:10
24 lines
1484 bytes
On 27 Mar 2007 03:17:25 -0700, Miroslaw.Makowiecki@gmail.com wrote:

>Mamy oto kod:
>//strumień1
>filtering_stream<input> stream1;
>stream1.push(Liczenie_znakow());
>stream1.push(LIczenie_sumy_md5());
>stream1.push(liczenie_sumy_sha1());
>std::fstream file("/home/gigat/duzy_plik.iso");
>//strumień2
>filtering_stream<input> stream2;
>stream2.push(Liczenie_sumy_sha256());
>stream2.push(Liczenie_kolejnych_linni());
>stream2.push(gzip_decompressor());
>stream2.push(stream1);
>Jak wiemy linia stream2.push(stream1) powoduje że strumień stream2
>jest mało wydajny,


Ja nie wiem.

A.L.

P.S. To ktos jescze uzywa C++?...
Technical Details
Message-ID: <f7kr039ktpckqatoohvoq714utkqivlpru@4ax.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!uw.edu.pl!newsgate.cistron.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!sn-xt-sjc-02!sn-xt-sjc-08!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
References: <1174990645.516467.275370@n59g2000hsh.googlegroups.com>

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!uw.edu.pl!newsgate.cistron.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!sn-xt-sjc-02!sn-xt-sjc-08!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
From: A.L. <fela@2005.com>
Newsgroups: pl.comp.objects
Subject: Re: Strumień filtering_stream tworzony dwuetapowo
 przy pomocy biblioteki boost.IOStreams
Date: Fri, 30 Mar 2007 22:10:20 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <f7kr039ktpckqatoohvoq714utkqivlpru@4ax.com>
References: <1174990645.516467.275370@n59g2000hsh.googlegroups.com>
X-Newsreader: Forte Agent 4.2/32.1117
MIME-Version: 1.0
X-Complaints-To: abuse@supernews.com
Lines: 24
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit