<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Parallel Compression library version 1.2 ... in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Compression-library-version-1-2/m-p/848360#M1771</link>
    <description>&lt;P&gt;&lt;BR /&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Parallel Compression library version 1.2 &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Author: Amine Moulay Ramdane &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Description: &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Parallel Gzip , Parallel Zlib and Parallel Bzip algorithms that uses my &lt;BR /&gt;Thread Pool Engine. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And please look at the test examples inside the zipfile: &lt;BR /&gt;test_pgzip.pas , pzlib.pas , test_pbzip.pas - compile and execute them... - &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And please see the benchmarks here: &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://pages.videotron.com/aminer/ParallelCompression/parallelbzip.htm"&gt;http://pages.videotron.com/aminer/ParallelCompression/parallelbzip.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can download my Parallel Compression library from:&lt;/P&gt;&lt;P&gt;&lt;A href="http://pages.videotron.com/aminer/"&gt;http://pages.videotron.com/aminer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The Parallel Compression library is VERY easy to use , and &lt;BR /&gt;here is an example in Object Pascal: - it's a parallel gzip compression -&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------------------------&lt;/P&gt;&lt;P&gt;program test;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;uses ParallelCompression,classes,zlibex,sysutils;&lt;/P&gt;&lt;P&gt;var &lt;BR /&gt;pgzip:TParallelGzip;&lt;BR /&gt;fstream1,fstream2,fstream3:TFileStream;&lt;BR /&gt;name:string;&lt;/P&gt;&lt;P&gt;begin&lt;/P&gt;&lt;P&gt;name:='msvcr100.dll'; // set your your test file ...&lt;/P&gt;&lt;P&gt;pgzip:=TParallelGzip.create(4); // number of cores...&lt;/P&gt;&lt;P&gt;fstream1:=TFileStream.create(name, fmOpenRead);//+fmShareExclusive);&lt;BR /&gt;fstream2:=TFileStream.create(name+'.gz',fmCreate);//+fmShareExclusive); // destination of the compression...&lt;BR /&gt;fstream3:=TFileStream.create(name+'.ok', fmCreate);//+fmShareExclusive); // destination decompression...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;pgzip.compress(fstream1,fstream2,zclevel9); // select a compressionlevel from &lt;BR /&gt; // zcNone or zcLevel1 to zcLevel9&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;writeln;&lt;BR /&gt;writeln('Parallel compression finished...');&lt;/P&gt;&lt;P&gt;fstream2.position:=0;&lt;/P&gt;&lt;P&gt;pgzip.decompress(fstream2,fstream3);&lt;/P&gt;&lt;P&gt;writeln;&lt;BR /&gt;writeln('decompression finished...');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;fstream1.free;&lt;BR /&gt;fstream2.free;&lt;BR /&gt;fstream3.free;&lt;BR /&gt;pgzip.free;&lt;/P&gt;&lt;P&gt;end.&lt;/P&gt;&lt;P&gt;-----------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Language: FPC Pascal v2.2.0+ / Delphi 7+: &lt;A href="http://www.freepascal.org/"&gt;http://www.freepascal.org/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Operating Systems: Win , Linux and Mac (x86). &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Required FPC switches: -O3 -Sd -dFPC -dWin32 -dFreePascal &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-Sd for delphi mode.... &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Required Delphi switches: -DMSWINDOWS -$H+ &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For Delphi 5,6,7 use -DDelphi &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For Delphi 2005,2006,2007,2009,2010+ use the switch -DDELPHI2005+ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sincerely, &lt;BR /&gt;Amine Moulay Ramdane. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Apr 2010 22:02:11 GMT</pubDate>
    <dc:creator>aminer10</dc:creator>
    <dc:date>2010-04-11T22:02:11Z</dc:date>
    <item>
      <title>Parallel Compression library version 1.2 ...</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Compression-library-version-1-2/m-p/848360#M1771</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Parallel Compression library version 1.2 &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Author: Amine Moulay Ramdane &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Description: &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Parallel Gzip , Parallel Zlib and Parallel Bzip algorithms that uses my &lt;BR /&gt;Thread Pool Engine. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And please look at the test examples inside the zipfile: &lt;BR /&gt;test_pgzip.pas , pzlib.pas , test_pbzip.pas - compile and execute them... - &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And please see the benchmarks here: &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://pages.videotron.com/aminer/ParallelCompression/parallelbzip.htm"&gt;http://pages.videotron.com/aminer/ParallelCompression/parallelbzip.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can download my Parallel Compression library from:&lt;/P&gt;&lt;P&gt;&lt;A href="http://pages.videotron.com/aminer/"&gt;http://pages.videotron.com/aminer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The Parallel Compression library is VERY easy to use , and &lt;BR /&gt;here is an example in Object Pascal: - it's a parallel gzip compression -&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------------------------&lt;/P&gt;&lt;P&gt;program test;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;uses ParallelCompression,classes,zlibex,sysutils;&lt;/P&gt;&lt;P&gt;var &lt;BR /&gt;pgzip:TParallelGzip;&lt;BR /&gt;fstream1,fstream2,fstream3:TFileStream;&lt;BR /&gt;name:string;&lt;/P&gt;&lt;P&gt;begin&lt;/P&gt;&lt;P&gt;name:='msvcr100.dll'; // set your your test file ...&lt;/P&gt;&lt;P&gt;pgzip:=TParallelGzip.create(4); // number of cores...&lt;/P&gt;&lt;P&gt;fstream1:=TFileStream.create(name, fmOpenRead);//+fmShareExclusive);&lt;BR /&gt;fstream2:=TFileStream.create(name+'.gz',fmCreate);//+fmShareExclusive); // destination of the compression...&lt;BR /&gt;fstream3:=TFileStream.create(name+'.ok', fmCreate);//+fmShareExclusive); // destination decompression...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;pgzip.compress(fstream1,fstream2,zclevel9); // select a compressionlevel from &lt;BR /&gt; // zcNone or zcLevel1 to zcLevel9&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;writeln;&lt;BR /&gt;writeln('Parallel compression finished...');&lt;/P&gt;&lt;P&gt;fstream2.position:=0;&lt;/P&gt;&lt;P&gt;pgzip.decompress(fstream2,fstream3);&lt;/P&gt;&lt;P&gt;writeln;&lt;BR /&gt;writeln('decompression finished...');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;fstream1.free;&lt;BR /&gt;fstream2.free;&lt;BR /&gt;fstream3.free;&lt;BR /&gt;pgzip.free;&lt;/P&gt;&lt;P&gt;end.&lt;/P&gt;&lt;P&gt;-----------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Language: FPC Pascal v2.2.0+ / Delphi 7+: &lt;A href="http://www.freepascal.org/"&gt;http://www.freepascal.org/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Operating Systems: Win , Linux and Mac (x86). &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Required FPC switches: -O3 -Sd -dFPC -dWin32 -dFreePascal &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-Sd for delphi mode.... &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Required Delphi switches: -DMSWINDOWS -$H+ &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For Delphi 5,6,7 use -DDelphi &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For Delphi 2005,2006,2007,2009,2010+ use the switch -DDELPHI2005+ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sincerely, &lt;BR /&gt;Amine Moulay Ramdane. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2010 22:02:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Compression-library-version-1-2/m-p/848360#M1771</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2010-04-11T22:02:11Z</dc:date>
    </item>
    <item>
      <title>Parallel Compression library version 1.2 ...</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Compression-library-version-1-2/m-p/848361#M1772</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As you have noticed , my Parallel Compression library &lt;BR /&gt;works on TStreams class..&lt;BR /&gt;&lt;BR /&gt;That means it supportsTFileStream(files..) or TMemoryStream(memory...) ... &lt;BR /&gt;of Object Pascal.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Welcome: &lt;A href="http://pages.videotron.com/aminer/"&gt;http://pages.videotron.com/aminer/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Have fun !  :)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Take care...&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Amine Moulay Ramdane.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 11 Apr 2010 22:35:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Compression-library-version-1-2/m-p/848361#M1772</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2010-04-11T22:35:04Z</dc:date>
    </item>
    <item>
      <title>Parallel Compression library version 1.2 ...</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Compression-library-version-1-2/m-p/848362#M1773</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;As you have noticed , i have followed the Divide and Conquer method...&lt;BR /&gt;&lt;BR /&gt;First you have to know how to program in proceduraland Object Oriented &lt;BR /&gt;programming andafter that you begin parallel programming ...&lt;BR /&gt;&lt;BR /&gt;The divide an conquer method works very well in parallel programming &lt;BR /&gt;also, cause as you have noticed , to be able to engineer the Parallel &lt;BR /&gt;Compression Library and Parallel Sort etc. i first began to engineerthe&lt;BR /&gt;following fondations:&lt;BR /&gt;&lt;BR /&gt;- My lock-free ParallelQueue&lt;BR /&gt;&lt;BR /&gt; &lt;A href="http://pages.videotron.com/aminer/parallelqueue/parallelqueue.htm"&gt;http://pages.videotron.com/aminer/parallelqueue/parallelqueue.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;- And my Thread Pool Engine that uses my lock-free ParallelQueue&lt;BR /&gt;&lt;BR /&gt; &lt;A href="http://pages.videotron.com/aminer/threadpool.htm"&gt;http://pages.videotron.com/aminer/threadpool.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After that, i have developped - in Object Pascal - the Parallel Compression&lt;BR /&gt;Library thatuses my Thread Pool Engine.&lt;BR /&gt;&lt;BR /&gt;And as you have noticed.ParallelCompression.pas - look inside the zipfile-,&lt;BR /&gt;containsa &lt;SPAN style="font-size: x-small;"&gt;TCallbacks class and both &lt;SPAN style="font-size: x-small;"&gt;TParallelGzip , TParallelBzip&lt;BR /&gt;classes inherit from TCallbacks..&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;Andas you have noticed also, my Parallel Compression library &lt;BR /&gt;works on TStream class.. &lt;/P&gt;&lt;P&gt;That means it supports TFileStream(files..) or &lt;BR /&gt;TMemoryStream(memory...) ...of Object Pascal. &lt;/P&gt;&lt;P&gt;Welcome: &lt;A target="_blank" rel="nofollow" href="http://www.google.com/url?sa=D&amp;amp;q=http://pages.videotron.com/aminer/&amp;amp;usg=AFQjCNEc4XUK97itZ-yH6hly_HwgwpbUjg"&gt;http://pages.videotron.com/aminer/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Andhave fun !  :) &lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Amine Moulay Ramdane.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;</description>
      <pubDate>Sun, 11 Apr 2010 23:19:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Compression-library-version-1-2/m-p/848362#M1773</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2010-04-11T23:19:32Z</dc:date>
    </item>
  </channel>
</rss>

