A few sugestuions

A few sugestuions

Postby i_a » Sat Oct 26, 2013 1:54 pm

Hi
First off I'd like to say tanks for a great little app, it's good to see the development continued too bad it's not MPL any more.
I have a few suggestions that should speed up cdisplayex.
#1 replace libjpeg.dll with libjpeg-turbo http://sourceforge.net/projects/libjpeg-turbo it's abi compatable with the ijg's libjpeg but it's 2-4 times faster, I've done this on my PC (downloaded the dll from sf.net and renamed jpeg62.dll to libjpeg.dll replaced the one you're using, Firefox, Chrome, IrfanView and a few others have moved to libjpeg-turbo) I'd recommend using the mingw build as it links to msvcrt.dll and it doesn't need an extra microsoft runtime.
#2 rebuild libwebp.dll and libdjvulibre.dll with the /MT switch (read the webp makefile it's quite simple)
#3 by avoiding /MD you won't need the extra vc-10 runtime so remove it from the installer, you'd reduce the download size and the bandwidth cost, plus you're redistributing an older version of ms's vc-10 runtime so by avoiding it you're doing users a big favor.

Some info about libjpeg-turbo http://en.wikipedia.org/wiki/Libjpeg#libjpeg-turbo,
on my system replacing this dll speeds up cdisplayex a lot, especially on large resolution commics :D
i_a
 
Posts: 25
Joined: Sat Oct 26, 2013 1:35 pm

Re: A few sugestuions

Postby Henri » Sat Oct 26, 2013 3:28 pm

1. I already use turbojpeg \o/, perhaps you tryed a beta version of turbo jpeg to feel it faster.
2. Can't remember if If used this compiler switch, I will check it.
3. There is other dlls, I can't compile, that need this redistribuable.
Henri
Site Admin
 
Posts: 306
Joined: Thu May 02, 2013 1:06 pm

Re: A few sugestuions

Postby i_a » Sat Oct 26, 2013 3:42 pm

3. There is other dlls, I can't compile, that need this redistribuable.


hmm OK then why not do what Firefox and Chrome do, just include these two dll 's msvcp100.dll and msvcr100.dll in the installer dir.
no need for the full runtime, it would reduce the installer's size a lot. ;)
Image

ps. Angry Birds for PC does this too, it's the preferred way to redistribute the VC-10 runtime.


Edit. I don't know why the image looks washed out here's a screenshot of Firefox's install dir, you can see how Mozilla distributes the VC-10 runtime
http://imgur.com/dzGoNso
i_a
 
Posts: 25
Joined: Sat Oct 26, 2013 1:35 pm

Re: A few sugestuions

Postby Henri » Sat Oct 26, 2013 3:45 pm

yes, good idea
Henri
Site Admin
 
Posts: 306
Joined: Thu May 02, 2013 1:06 pm


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron