aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* db/LightSong: make "real_uri" a pointerMax Kellermann2014-02-041-1/+1
| | | | | Reduce overhead. LightSong can always point to the "real" allocated string.
* Database*: move to db/Max Kellermann2014-01-241-1/+1
|
* DetachedSong: un-inline the destructorMax Kellermann2014-01-231-0/+5
| | | | Reduce bloat.
* LightSong: add attribute "real_uri"Max Kellermann2014-01-211-0/+1
| | | | | The UPnP database plugin can now show relative song URIs for remote songs.
* DetachedSong: add attribute "real_uri"Max Kellermann2014-01-211-2/+12
| | | | Prepare for UPnP songs that retain there database identity.
* LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-3/+3
| | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
* Song: embed the Tag object statically into class SongMax Kellermann2014-01-191-1/+1
| | | | | Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-0/+51
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.