Great improvement on problematic files and nice improvement in overall speed for last commit 
Now: Microsoft Visual Studio 2015 compile:
GCC 3842 sec
MSVS15 3182 sec
That's about 17% faster. The test file is a combination of PNGs, SWFs, valid MP3 files, problematic and non-supported MP3, GIFs, PDFs including also JPGs and pdf bitmaps. There are also non-precompressible files and some zLib chunks found on intense mode. For the rest of types I ran comparisons too and the difference is always on the MSVS side, between 3% and 30%.
See attached.
---------------------------------
Here is a crash for you to study. I've been following this since MP3 repacking came out, and there's no compilation tweaks, no commit or whatsoever that had helped, on both gcc and V.S. compiles. Linux version behaves in the same way, so I uploaded the files.
---------------------------------
This one is I think the last major slowdown in my files.
Code:
(0.00%) Possible JPG found at position 215, length 147770
Best match: 147770 bytes, recompressed to 121670 bytes
(3.20%) Possible MP3 found at position 149367, length 4518614
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.20%) Possible MP3 found at position 149575, length 4518406
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.21%) Possible MP3 found at position 149679, length 4518302
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.21%) Possible MP3 found at position 149783, length 4518198
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.21%) Possible MP3 found at position 149887, length 4518094
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.21%) Possible MP3 found at position 149991, length 4517990
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.22%) Possible MP3 found at position 150095, length 4517886
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.22%) Possible MP3 found at position 150199, length 4517782
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.22%) Possible MP3 found at position 150303, length 4517678
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.22%) Possible MP3 found at position 150407, length 4517574
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.22%) Possible MP3 found at position 150511, length 4517470
packMP3 error: big value pairs out of bounds (€h> h)
No matches
(3.23%) Possible MP3 found at position 150615, length 4517366
packMP3 error: big value pairs out of bounds (€h> h)
No matches
And so on until the end. 4.5mb in more than 1.5 hours.
New size: 4641654 instead of 4667697
Done.
Time: 1 hour(s), 35 minute(s), 54 second(s)
Recompressed streams: 1/11099
JPG streams: 1/1
MP3 streams: 0/11098
See included file.