aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.