<?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[map schneller als array?]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich laufe in einer schleife die ca. 800 000 iterationen macht.<br />
Dort greife ich auf ein array derselben grösse zu über array[idx + offset] hole<br />
ich mir werte aus dem array.<br />
Jetzt ist mir das zu langsam. Kann es sein wenn ich statt dess arrays nun eine einfach map benutze dies schneller wird? Oder überseh ich da was. Ich dachte bei hashes sind die zugriffe schneller?!?</p>
<p>Danke für hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/156436/map-schneller-als-array</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 19:43:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/156436.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Aug 2006 16:13:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to map schneller als array? on Wed, 16 Aug 2006 16:13:31 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich laufe in einer schleife die ca. 800 000 iterationen macht.<br />
Dort greife ich auf ein array derselben grösse zu über array[idx + offset] hole<br />
ich mir werte aus dem array.<br />
Jetzt ist mir das zu langsam. Kann es sein wenn ich statt dess arrays nun eine einfach map benutze dies schneller wird? Oder überseh ich da was. Ich dachte bei hashes sind die zugriffe schneller?!?</p>
<p>Danke für hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118536</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118536</guid><dc:creator><![CDATA[Mati]]></dc:creator><pubDate>Wed, 16 Aug 2006 16:13:31 GMT</pubDate></item><item><title><![CDATA[Reply to map schneller als array? on Wed, 16 Aug 2006 16:38:15 GMT]]></title><description><![CDATA[<p>Schneller als array[index] wird es nicht gehen. Da kann man nur algorithmisch was verbessern. Wie sieht denn der Code aus?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118564</guid><dc:creator><![CDATA[Ponto]]></dc:creator><pubDate>Wed, 16 Aug 2006 16:38:15 GMT</pubDate></item><item><title><![CDATA[Reply to map schneller als array? on Wed, 16 Aug 2006 17:33:24 GMT]]></title><description><![CDATA[<p>crossposting: <a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-1118609.html#1118609" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-1118609.html#1118609</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118612</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118612</guid><dc:creator><![CDATA[Jester]]></dc:creator><pubDate>Wed, 16 Aug 2006 17:33:24 GMT</pubDate></item></channel></rss>