Review Request 122125: read plugin file only once

Laurent Navet laurent.navet+kde at gmail.com
Sun Jan 18 15:28:24 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122125/#review74240
-----------------------------------------------------------



src/lib/plugin/kpluginloader.cpp
<https://git.reviewboard.kde.org/r/122125/#comment51547>

    Is this really needed ?


- Laurent Navet


On jan. 18, 2015, 4:05 après-midi, Guy Maurel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122125/
> -----------------------------------------------------------
> 
> (Updated jan. 18, 2015, 4:05 après-midi)
> 
> 
> Review request for KDevelop and Kevin Funk.
> 
> 
> Repository: kcoreaddons
> 
> 
> Description
> -------
> 
> KPluginLoader::factory() is calling instance() which calls load().
> The plugin file will be red two times.
> This is not necessary.
> Save some little CPU time by reading only once.
> 
> 
> Diffs
> -----
> 
>   src/lib/plugin/kpluginloader.cpp 802ef843bca4526cc9a4ee6780e8125453786b12 
> 
> Diff: https://git.reviewboard.kde.org/r/122125/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guy Maurel
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150118/a591d363/attachment-0001.html>


More information about the KDevelop-devel mailing list