summaryrefslogtreecommitdiff
path: root/src/songvec.h
AgeCommit message (Collapse)Author
2008-09-29songvec: songvec_delete takes a const Song pointerEric Wong
We don't modify the Song when we delete it
2008-09-29songvec_free => songvec_destroyEric Wong
"free" implies the songvec structure itself is freed, which is not the case.
2008-09-23songvec: remove songvec_pruneEric Wong
Any pruned files will be noticed during update and pruned from the live database, so this inefficient function can go away and never come back.
2008-09-23Replace SongList with struct songvecEric Wong
Our linked-list implementation is wasteful and the SongList isn't modified enough to benefit from being a linked list. So use a more compact array of song pointers which saves ~200K on a library with ~9K songs (on x86-32).