Forum moved here!

Home / SumatraPDF-prerelease-11040

Reater

What’s new in this version?
Why the size has doubled?

kjk

Nothing much. You can see the changes here: https://github.com/sumatrapdfreader/sumatrapdf/commits/master

I don’t think the size has doubled. Which sizes are you comparing?

Reater

3.2.10638 x64 have 2118144 bytes

kjk

There are several files for each release. You didn’t say which ones exactly are you comparing.

Comparing 3.1.2-x64-install.exe to 11040-x64-install.exe, 11040 is 180 kB larger, which is within expected range.

Reater

If I not say it is because I mean the main: SumatraPDF.exe

GitHubRulesOK

@Reater
I think your version may be a developer (z? version) they were often compacted with UPX which makes files smaller for storage and distribution however has several negative effects for executing, as UPX is not reliably reversible and adds a time penalty to loading I would not recommend its use.
I consider nowadays 9,776,032 bytes for the 64bit portable is exceptionally good value in terms of bangs per buck

the following are main changes since pre-release 10766 (32bit portable was 8,859,040 bytes now 8,912,800 bytes)

In addition to ongoing experimental features such as Highlight (NOTE key has changed from H to A) and TabWidth support (these may not be included in the final release)

Print Driver Isolation from the print spooler service to reduce print failure. [MyNote=] This will NOT correct for a poor print driver
A6 and A2 support in command line print [MyNote=] so for CLI use MAX paper size is up from A3 to A2
Include TIFF and TIF as supported extensions [MyNote=] there are other image formats that SumatraPDF can handle
hopefully better layout for CJK (issue #250 two-bytes format, eg Chinese / Japanese /Korean)
other adjustments to improve code and numerous extensions to translations

Reater

it does not seem compressed with upx because it does not decompress.

GitHubRulesOK

@kjk

I think @Reater has a point there seems to be “white space” in the exe

SumatraPDF-prerelease-10638-64-install.exe (2017-03-09 ) 5.03MB (5,275,792 bytes)
Unpacked 11.9 MB (12,547,224 bytes)
Main executable 2.05 MB (2,152,592 bytes)

SumatraPDF-prerelease-11040-64-install.exe (2018-08-18) 5.14 MB (5,391,264 bytes)
Unpacked 14.3 MB (15,086,536 bytes)
Main executable 4.42 MB (4,641,184 bytes)

also seeing unusual amount of “chatter” e.g. referenced comments such as “sumatra-search-across-pages-2070615.pdf” ok my bad that file was expected for testing in past pre-release

Reater

Maybe prelease is a debug version?

GitHubRulesOK

Yes Pre-release usually has some debug code that’s removed in formal release but by comparing between equivalent pre-release versions there should not be the size increase as you correctly pointed out.
e.g. the portable versions did NOT increase by the same factor they only increased by 0.6 %
32bit10766.exe = 8.44 MB (8,859,040 bytes)
32bit11040.exe = 8.49 MB (8,912,800 bytes)
potential size for 32bit portable release ~ 6.3 MB (6,600,000 bytes)

Rinidictus

why new prerelease version does not have highlighting functionality? previous pre-release version (10638 i guess) had perfectly functioning highlighting (with an H key). Now it is gone. Where can I find 10638 version?

GitHubRulesOK

@Rinidictus
I should have ensured note about key change from H to A was highlighted above, (will do so now)
however it was discussed in other threads. (it IS still there)

GitHubRulesOK

The short term CBR/CBZ pre-release sort issues and others going back a long time were fixed on 2018-11-07 and are presently correct in the current 11105 pre-rel version 2018-12-29

Related changes were how unrar is handled and installation changes
there were also many other changes under the hood

SumatraPeter

As GitHubRulesOK said, a proper fix for this was pushed out quite some time back: