https://bugs.kde.org/show_bug.cgi?id=411532

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/87e056ebf0089a |krita/commit/882ef7d97b2d74
                   |3ef990de7e452beac4877f29d0  |1924e3498dd44a4afee8d72226

--- Comment #8 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit 882ef7d97b2d741924e3498dd44a4afee8d72226 by Boudewijn Rempt.
Committed on 10/09/2019 at 08:25.
Pushed by rempt into branch 'krita/4.2'.

Cache the profiles when loading layers

When loading an image with a reasonable amount of layers, loading
and creating the profile for each layer isn't really noticable, but
if there are thousands and thousands of layers, it's a major drag
on loading kra files.

And it's very likely that every layer has the same profile _anyway_.

This makes loading the sample files from
https://bugs.kde.org/show_bug.cgi?id=411532
mucht faster.

M  +21   -7    plugins/impex/libkra/kis_kra_load_visitor.cpp
M  +2    -0    plugins/impex/libkra/kis_kra_load_visitor.h

https://invent.kde.org/kde/krita/commit/882ef7d97b2d741924e3498dd44a4afee8d72226

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to