tag:blogger.com,1999:blog-29331675.post776860866802304306..comments2024-03-05T17:37:00.995+01:00Comments on The Delphi Geek: Parallel Mapgabr42http://www.blogger.com/profile/06903558857617342477noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-29331675.post-34053204061952073242015-02-01T11:32:11.988+01:002015-02-01T11:32:11.988+01:00The big difference is that Parallel.Map knows how ...The big difference is that Parallel.Map knows how to efficiently 'pack' the resulting array if your mapping function is also providing filtering functionality (i.e. if it is returning False for some values). If your mapping is 1:1 then there's no real difference between Parallel.Map and something like this:<br /><br />SetLength(target, Length(source));<br />Parallel.For(Low(source), High(source)).Execute(<br /> procedure (i: integer)<br /> begin<br /> target[i] := mapper(source[i]);<br /> end);gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.comtag:blogger.com,1999:blog-29331675.post-85994670337692878032015-01-31T20:15:58.688+01:002015-01-31T20:15:58.688+01:00If this is the right place to download, then the l...If this is the right place to download, then the latest OTL code has not yet been posted.<br /><br />https://code.google.com/p/omnithreadlibrary/downloads/list<br /><br />Can you please post the latest zip?<br /><br />Thank you.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-82627243072651831552015-01-31T18:51:56.399+01:002015-01-31T18:51:56.399+01:00I could use some help here. I am trying to downlo...I could use some help here. I am trying to download the latest OTL code.<br />Can you please point me to the right download location?<br /><br />Thanks in advance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-29331675.post-84374419956548283912015-01-31T14:36:06.264+01:002015-01-31T14:36:06.264+01:00Is there any difference between this and existing ...Is there any difference between this and existing "parallel for loop" functionality?Mason Wheelerhttp://tech.turbu-rpg.comnoreply@blogger.com