D28193: [KFontChooser] Use one QFontDatabase object for the ::Private class

David Faure noreply at phabricator.kde.org
Tue Mar 24 20:15:13 GMT 2020


dfaure added a comment.


  I don't think this makes any difference, they all share the same underlying private singleton.
  So all this does is to use a tiny bit more memory while the widget is up (the member var).
  The additional CPU usage without this patch or the additional memory usage with this patch are both negligible, so I can't really say which way is best.

REPOSITORY
  R236 KWidgetsAddons

REVISION DETAIL
  https://phabricator.kde.org/D28193

To: ahmadsamir, #frameworks, cfeck, apol, bport, dfaure
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200324/23660336/attachment.html>


More information about the Kde-frameworks-devel mailing list