<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[cout langsamer als printf?]]></title><description><![CDATA[<p>Warum ist cout langsamer als printf? Wegen der locales? Kann man das irgendwie ändern?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/339163/cout-langsamer-als-printf</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 09:30:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/339163.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Aug 2016 07:44:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 07:44:33 GMT]]></title><description><![CDATA[<p>Warum ist cout langsamer als printf? Wegen der locales? Kann man das irgendwie ändern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504857</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504857</guid><dc:creator><![CDATA[dfsfds]]></dc:creator><pubDate>Mon, 08 Aug 2016 07:44:33 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 08:52:59 GMT]]></title><description><![CDATA[<p>Wie hast du festgestellt, dass es langsamer ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504861</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Mon, 08 Aug 2016 08:52:59 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 10:04:26 GMT]]></title><description><![CDATA[<p>die C++-Streams sind allgemein langsamer als ihre C-Derivate, aber sicherer, durch die Operatoren-Überladung usw. gibt es weniger Optimierungspotenzial und es gibt mehr Puffer zwischen den Schichten</p>
<p><a href="http://stackoverflow.com/questions/18688763/why-is-istream-ostream-slow" rel="nofollow">http://stackoverflow.com/questions/18688763/why-is-istream-ostream-slow</a><br />
<a href="http://stackoverflow.com/questions/4340396/does-the-c-standard-mandate-poor-performance-for-iostreams-or-am-i-just-deali" rel="nofollow">http://stackoverflow.com/questions/4340396/does-the-c-standard-mandate-poor-performance-for-iostreams-or-am-i-just-deali</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504867</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504867</guid><dc:creator><![CDATA[Gast3]]></dc:creator><pubDate>Mon, 08 Aug 2016 10:04:26 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 10:07:47 GMT]]></title><description><![CDATA[<p>Evtl. flushst du auch (unabsichtlich) bei jeder Benutzung std::cout durch ein std::endl?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504868</guid><dc:creator><![CDATA[Gast4]]></dc:creator><pubDate>Mon, 08 Aug 2016 10:07:47 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 11:10:16 GMT]]></title><description><![CDATA[<p>Objektorientierung ist generell langsamer, hat dann aber den Vorteil, dass die Programmcodes deutlich kürzer und sicherer werden.</p>
<p>Aber alles, was mit IO zu tun hat, ist von sich aus schon so langsam, dass es dabei gar nicht auf die Geschwindigkeit ankommt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504872</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504872</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Mon, 08 Aug 2016 11:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 12:13:29 GMT]]></title><description><![CDATA[<p>HansKlaus schrieb:</p>
<blockquote>
<p>Objektorientierung ist generell langsamer</p>
</blockquote>
<p>Soso</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504877</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504877</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Mon, 08 Aug 2016 12:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 13:10:01 GMT]]></title><description><![CDATA[<blockquote>
<p>Objektorientierung ist generell langsamer</p>
</blockquote>
<p>Soso - generell</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504883</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504883</guid><dc:creator><![CDATA[Gast3]]></dc:creator><pubDate>Mon, 08 Aug 2016 13:10:01 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 13:50:44 GMT]]></title><description><![CDATA[<p>dfsfds schrieb:</p>
<blockquote>
<p>Warum ist cout langsamer als printf? Wegen der locales?</p>
</blockquote>
<p>Bei den Implementierungen die ich kenne: ja, wegen den Locales.</p>
<p>dfsfds schrieb:</p>
<blockquote>
<p>Kann man das irgendwie ändern?</p>
</blockquote>
<p>Du kannst Funktionen verwenden die sich nicht für Locales interessieren und/oder direkt in den Stream-Buffer schreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504889</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504889</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Mon, 08 Aug 2016 13:50:44 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 13:53:35 GMT]]></title><description><![CDATA[<p>HansKlaus schrieb:</p>
<blockquote>
<p>Objektorientierung ist generell langsamer</p>
</blockquote>
<p>Nein</p>
<p>HansKlaus schrieb:</p>
<blockquote>
<p>Aber alles, was mit IO zu tun hat, ist von sich aus schon so langsam, dass es dabei gar nicht auf die Geschwindigkeit ankommt.</p>
</blockquote>
<p>Ganz schlimmer Quatsch. Versuch' mal mit IOStreams nen riesen Textfile zu lesen oder zu schreiben. Also schön Stück für Stück, so wie man es in allen Beispielen sieht. Dann guck dir an auf wieviel MB/s du damit kommst. Und dann guck dir an wieviel MB/s nen gutes Storage bei linearen Zugriffen schafft (kleiner Tip: so 1000 MB/s ist kein Problem). Oder auch eine einzelne SSD.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504891</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504891</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Mon, 08 Aug 2016 13:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 14:38:13 GMT]]></title><description><![CDATA[<p>HansKlaus schrieb:</p>
<blockquote>
<p>Objektorientierung ist generell langsamer</p>
</blockquote>
<p>objektorientierung ist ein konzept. konzepte haben keine geschwindigkeit</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504894</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504894</guid><dc:creator><![CDATA[swapper]]></dc:creator><pubDate>Mon, 08 Aug 2016 14:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 14:40:16 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>HansKlaus schrieb:</p>
<blockquote>
<p>Aber alles, was mit IO zu tun hat, ist von sich aus schon so langsam, dass es dabei gar nicht auf die Geschwindigkeit ankommt.</p>
</blockquote>
<p>Ganz schlimmer Quatsch.</p>
</blockquote>
<p>I/O ist definitiv sehr oft ein flaschenhals. in der realität jedenfalls.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504895</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504895</guid><dc:creator><![CDATA[swapper]]></dc:creator><pubDate>Mon, 08 Aug 2016 14:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 15:26:53 GMT]]></title><description><![CDATA[<p>.. schon wieder so'n leidige Geschwindigkeitsdiskussion.<br />
<a href="https://www.c-plusplus.net/forum/310076-full">Hier ein Thread</a>, der sich um das selbe Thema dreht. Der OP kam mit einer &gt;100MB-Datei von 12,5s auf 1,12s runter. Mit ziemlich viel Tricks, aber alles C++-Std-IO. Die 1s+ entsprachen exakt der Zeit, die ich in meinem Benschmark benötigt habe, um die Daten von der Platte in das Memory zu schieben. Wenn ein Programm richtig ausgelutscht ist, schlägt irgendwann Software immer Hardware.</p>
<p>HansKlaus schrieb:</p>
<blockquote>
<p>Objektorientierung ist generell langsamer, hat dann aber den Vorteil, dass die Programmcodes deutlich kürzer und sicherer werden</p>
</blockquote>
<p>Ich nehme mal an, es gibt gefühlt 1 Millionen Quellen im I-Net, wo genau dies behauptet wird. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /><br />
Wenn man zwei Konzepte 'objektorientiert' gegenüber 'prozedural' überhaupt in Sachen Geschwindigkeit vergleichen will, dann liegt 'objektorientiert' vorn - und zwar weit vorn! Große Programme mit Millionen LOC bekommt man nur dann wirklich schnell, wenn man verteilt, parallelisiert und asynchron konzeptioniert. Und das geht bei so großen Dingern eben nur mit objektorientierten Ansätzen.</p>
<p>Gruß<br />
Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504903</guid><dc:creator><![CDATA[Werner Salomon]]></dc:creator><pubDate>Mon, 08 Aug 2016 15:26:53 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 17:15:42 GMT]]></title><description><![CDATA[<p>verteilt, parallelisiert und asynchron geht bei großen Projekten nur mit OOP? Das ist ja interessant.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504919</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504919</guid><dc:creator><![CDATA[versionsnummer]]></dc:creator><pubDate>Mon, 08 Aug 2016 17:15:42 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 17:29:32 GMT]]></title><description><![CDATA[<p>Werner Salomon schrieb:</p>
<blockquote>
<p>Wenn man zwei Konzepte 'objektorientiert' gegenüber 'prozedural' überhaupt in Sachen Geschwindigkeit vergleichen will, dann liegt 'objektorientiert' vorn - und zwar weit vorn! Große Programme mit Millionen LOC bekommt man nur dann wirklich schnell, wenn man verteilt, parallelisiert und asynchron konzeptioniert. Und das geht bei so großen Dingern eben nur mit objektorientierten Ansätzen.</p>
</blockquote>
<p>Zusatz: Auch auf nur einem Kern: Mehr Durchblick durch OO bringt nachher viel mehr inhaltliches Optimierungspotenzial.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504920</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504920</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Mon, 08 Aug 2016 17:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 18:17:35 GMT]]></title><description><![CDATA[<p>&quot;viel Optimierungspotential&quot; bedeutet aber, daß es anfangs weit vom Optimum entfernt ist.</p>
<p>Mit auf Seiteneffektarmut hin optimierten funktionalen Routinen kann man manche Problemstellung von Anfang an recht nahe am Optimum platzieren, so der verwendete Grundalgorithmus gute Parallelisierbarkeit aufweist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504924</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504924</guid><dc:creator><![CDATA[versionsnummer]]></dc:creator><pubDate>Mon, 08 Aug 2016 18:17:35 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 19:10:13 GMT]]></title><description><![CDATA[<p>versionsnummer schrieb:</p>
<blockquote>
<p>&quot;viel Optimierungspotential&quot; bedeutet aber, daß es anfangs weit vom Optimum entfernt ist.</p>
</blockquote>
<p>Jupp. Anfangs vom Optimum weit entfernt.</p>
<p>Ich hab gewohnheitsmäßig jeden C-Progger im Programmierwettbewerb an die Wand gestellt in Sachen Performance. Ist ja auch logisch. Ich hatte bessere Verfahren am Start.</p>
<p>Naja, theoretisch, wenn ich mir mehr Mühe geben würde, täte ich die Schlaubergeralgos auch in C oder Cobol gut zu formulieren finden. Vielleicht hätte ich in Delphi nur zum Jux ebenso abgeschnitten.</p>
<p>Sorry für den Exkurs.<br />
Wenn man cout(und Konsorten) ein wenig schlank reimplementiert, wie ich das gerne (ebmedded angehaucht) tue, geht da so viel drüber wie die Hardware gerade noch erlaubt. Und sicher viel viel viel mehr als printf überhaupt packen kann. cout muss nicht zur Laufzeit nach Typen schauen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504928</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504928</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Mon, 08 Aug 2016 19:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 21:04:49 GMT]]></title><description><![CDATA[<p>versionsnummer schrieb:</p>
<blockquote>
<p>verteilt, parallelisiert und asynchron geht bei großen Projekten nur mit OOP? Das ist ja interessant.</p>
</blockquote>
<p>Wirtschaftlich betrachtet - ja genau. Theoretisch bekommt man es natürlich auch prozedural hin, aber frag nicht nach dem Aufwand. Ich hatte Mitte der 90'er viel mit so was zu tun. Solche Programme waren voll von Fehlern, schwer zu warten und suboptimal obendrein.</p>
<p>versionsnummer schrieb:</p>
<blockquote>
<p>&quot;viel Optimierungspotential&quot; bedeutet aber, daß es anfangs weit vom Optimum entfernt ist.</p>
</blockquote>
<p>Genau - einfaches Beispiel:</p>
<pre><code>allocate ganz viel Speicher;
    readFile große Datei in den Speicher;
    parse mit superschnellen Parser über die Bytes;
</code></pre>
<p>Diese Konstruktion ist bereits weit vom Optimum entfernt, da der Prozessor im mittleren Teil ' <code>readFile große Datei in den Speicher</code> ' kaum was zu tun hat. In dieser Zeit könnte man doch schon mal über die bereits gelesenen Bytes parsen ...</p>
<p>versionsnummer schrieb:</p>
<blockquote>
<p>Mit auf Seiteneffektarmut hin optimierten funktionalen Routinen kann man manche Problemstellung von Anfang an recht nahe am Optimum platzieren, so der verwendete Grundalgorithmus gute Parallelisierbarkeit aufweist.</p>
</blockquote>
<p>..?? kannst Du mal ein Beispiel geben.</p>
<p>Gruß<br />
Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504931</guid><dc:creator><![CDATA[Werner Salomon]]></dc:creator><pubDate>Mon, 08 Aug 2016 21:04:49 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Mon, 08 Aug 2016 22:35:24 GMT]]></title><description><![CDATA[<p>volkard schrieb:</p>
<blockquote>
<p>Und sicher viel viel viel mehr als printf überhaupt packen kann. cout muss nicht zur Laufzeit nach Typen schauen.</p>
</blockquote>
<p>Das. ( <code>s</code> ) <code>printf</code> hat den theoretischen Nachteil, dass der Formatstring jedes mal neu interpretiert werden muss (wenn wir von Schleifen reden, auch in jedem Durchlauf). Dank Templates können wir eine saubere Syntax ohne Performance Defizite, aber dafür mit Typsicherheit genießen.</p>
<p>Das Ganze gilt noch einmal fürs Extrahieren. Insofern verstehe ich nicht, was an C I/O grundsätzlich schnell oder überhaupt gut sein soll - nur weil IOStreams ein übertriebenes Design haben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504940</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504940</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Mon, 08 Aug 2016 22:35:24 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Tue, 09 Aug 2016 01:53:08 GMT]]></title><description><![CDATA[<p>swapper schrieb:</p>
<blockquote>
<p>hustbaer schrieb:</p>
<blockquote>
<p>HansKlaus schrieb:</p>
<blockquote>
<p>Aber alles, was mit IO zu tun hat, ist von sich aus schon so langsam, dass es dabei gar nicht auf die Geschwindigkeit ankommt.</p>
</blockquote>
<p>Ganz schlimmer Quatsch.</p>
</blockquote>
<p>I/O ist definitiv sehr oft ein flaschenhals. in der realität jedenfalls.</p>
</blockquote>
<p>Es geht hier ums lineare Schreiben. Mit Pufferung. <code>cout</code> halt. Natürlich kann auch hier IO der Flaschenhals sein, aber dazu muss man sich schon gewaltig anstrengen. Zumindest wenn man mit entsprechender Hardware arbeitet. Und wenn man nicht mit entsprechender Hardware arbeitet, dann würde ich sagen dass <em>die Hardware</em> der Falschenhals ist, nicht allgemein &quot;I/O&quot;.</p>
<p>Um dagegen die Iostreams zum Flaschenhals zu machen muss man sich gar nicht anstrengen. In der Realität jedenfalls <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>Dass im Allgemeinen - also nicht auf <code>cout</code> bezogen - IO oft der Flaschenhals ist, ist richtig. Es bringt aber nichts diese &quot;Erkenntnis&quot; blind auf jedes Problem &quot;anzwenden&quot;. Weil halt oft != immer.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504946</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504946</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Tue, 09 Aug 2016 01:53:08 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Tue, 09 Aug 2016 02:09:33 GMT]]></title><description><![CDATA[<p>BTW: Kennt jemand eine C++ Library mit der man ähnliche Dinge wie mit den Iostreams machen kann, die richtig gut auf Performance optimiert ist?</p>
<p>Ich hab' mir schon 2-3x sowas selbst gebastelt, immer auf das jeweilige Problem zurechtgeschnitten. Aber das geht ja wohl auch allgemein.<br />
Natürlich müsste man dabei nen Tradeoff machen zwischen<br />
* Flexibilität<br />
* Geschwindigkeit<br />
* Einfachkeit in der Anwendung</p>
<p>Aber ich denke das sollte halbwegs gut gehen. Gibt es da was fertiges, brauchbares?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504953</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504953</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Tue, 09 Aug 2016 02:09:33 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Tue, 09 Aug 2016 06:52:50 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>Kennt jemand eine C++ Library mit der man ähnliche Dinge wie mit den Iostreams machen kann, die richtig gut auf Performance optimiert ist?</p>
</blockquote>
<p>Flexibilität und Performance sind i.A. schwer unter einen Hut zu bringen.</p>
<p>Bjarne Stroustrup sagt dazu:</p>
<blockquote>
<p>Designing and implementing a general input/output facility for a programming language is notoriously difficult</p>
</blockquote>
<p>Die Firma <a href="https://www.think-cell.com/de" rel="nofollow">Thinkcell</a> hat Firmen intern so eine Library, die sie in den eigenen Produkten einsetzt. Sie wurde vor etlichen Monaten <a href="http://www.meetup.com/de-DE/MUCplusplus/events/228547930/" rel="nofollow">in der Müncher C++-Gruppe vorgestellt</a>. In wie weit diese öffentlich verfügbar ist, kann ich nicht sagen. Du kannst ja mal locker anfragen. Zumindest haben sie dafür Werbung gemacht.</p>
<p>Gruß<br />
Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504955</guid><dc:creator><![CDATA[Werner Salomon]]></dc:creator><pubDate>Tue, 09 Aug 2016 06:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Tue, 09 Aug 2016 07:51:14 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/13960">@hustbaer</a></p>
<p>FastFormat war immer sehr schnell - (noch gepflegt?)<br />
<a href="http://www.fastformat.org/" rel="nofollow">http://www.fastformat.org/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504959</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504959</guid><dc:creator><![CDATA[Gast3]]></dc:creator><pubDate>Tue, 09 Aug 2016 07:51:14 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Tue, 09 Aug 2016 07:53:41 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/13960">@hustbaer</a></p>
<p><a href="https://github.com/fmtlib/fmt" rel="nofollow">https://github.com/fmtlib/fmt</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504960</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504960</guid><dc:creator><![CDATA[Gast3]]></dc:creator><pubDate>Tue, 09 Aug 2016 07:53:41 GMT</pubDate></item><item><title><![CDATA[Reply to cout langsamer als printf? on Tue, 09 Aug 2016 08:27:50 GMT]]></title><description><![CDATA[<p>Werner Salomon schrieb:</p>
<blockquote>
<p>versionsnummer schrieb:</p>
<blockquote>
<p>Mit auf Seiteneffektarmut hin optimierten funktionalen Routinen kann man manche Problemstellung von Anfang an recht nahe am Optimum platzieren, so der verwendete Grundalgorithmus gute Parallelisierbarkeit aufweist.</p>
</blockquote>
<p>..?? kannst Du mal ein Beispiel geben.</p>
</blockquote>
<p>eine for-Schleife, die als einzigen Seiteneffekt ein Array hat, auf das alle Schleifendurchläufe arbeiten. So etwas läßt sich funktional im einfachsten Fall sogar automatisch parallelisieren (openmp), wobei jeder Thread einen Abschnitt der for-Schleife bearbeitet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2504963</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2504963</guid><dc:creator><![CDATA[versionsnummer]]></dc:creator><pubDate>Tue, 09 Aug 2016 08:27:50 GMT</pubDate></item></channel></rss>