On 07/31/2016 01:36 PM, Guillaume Munch wrote:
> commit 0a8b7f6a5740f4b4f976eb308841ad3b98166015
> Author: Guillaume Munch <g...@lyx.org>
> Date:   Thu Jul 28 16:52:14 2016 +0100
>
>     Perf comments: getFormatFromFile slows LyX startup considerably
>     
>     It is currently called on hundreds of files: settings, layouts, icons, 
> cached
>     graphics files (incl. graphics from files that are not opened on startup).

Regarding zipped files, perhaps we could check the extension and assume
it is zipped or not, on that basis. Then if something goes wrong, we
could try getFormatFromFile?

Richard

Reply via email to