Skip to content
Commit 01c393ec authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

makes data classes be implicitely shared: decrease memory usage

Summary:
use QSharedDataPointer to implictely share the data classes
(MusicAudioTrack, MusicAlbum and MusicAudioGenre)

A little reduction n memory usage is measurable (at least on my setup).

A further optimization could be to only create a track once in
DatabaseInterface.

CCBUG: 396840

Reviewers: astippich, januz, ognarb

Reviewed By: astippich

Tags: #elisa

Differential Revision: https://phabricator.kde.org/D15456
parent ec881c1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment