View Full Version : Why is NSIS compile so much faster than a few versions ago?
jarsonic
13th March 2001, 17:34
Anybody know what Justin did to make the compiling go so much faster? Does it have something to do with the size of the compression blocks? :D
I noticed that Justin's cool little compression animation from ~1.1k is gone...
-- Jarsonic
justin
13th March 2001, 17:40
The main reason is that "datablock optimizations" are off by default. "datablock optimizations" made compiling especially slow when adding large amounts of data, and then adding a lot of files.
1.1o's datablock optimizer is a lot faster, and strings are optimized in their own block, so the whole thing works faster as well.
I got rid of the nifty animation because I moved to using one deflate() call per file, instead of the blocking system of before (which is more efficient). I suppose I could make it use multiple deflates but without synchronization, in order to put the little animation back, but I think it's OK this way. :)
-Justin
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.