On Thu, Mar 19, 2015 at 11:24:16PM +0100, Enrico Forestieri wrote: > On Wed, Mar 18, 2015 at 08:53:53PM -0400, Richard Heck wrote: > > On 03/18/2015 07:43 PM, Enrico Forestieri wrote: > > >On Wed, Mar 18, 2015 at 09:42:58PM +0100, Jean-Marc Lasgouttes wrote: > > >>Le 18/03/15 19:14, Enrico Forestieri a écrit : > > >>>LyX uses gunzip for uncompressing a gzipped file. Most probably, that > > >>>could be also directly done in memory by using zlib, but I don't know > > >>>if that's a bigger problem in the native Windows world ;) > > >>We have support/gzstream.h for that, and I would be surprised if Qt > > >>could not do it too. > > >You are very correct. I tried replacing "gunzip -c" with "cat" in > > >filetools.cpp and the result is simply that lyx now starts up > > >a bit faster than before... > > > > Is it worth our replacing the gunzip call, then? Since we'll now be > > relying upon it more? > > I think it would be even better avoiding this path for the icons, > i.e., do not even try to uncompress them.
I pushed a change at 7da981b3 that achieves that goal. -- Enrico