Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | songvec: avoid free(NULL) | Eric Wong | 2008-09-23 | 1 | -2/+4 |
| | | | | Potentially broken free() implementations don't like it | ||||
* | songvec: remove songvec_prune | Eric Wong | 2008-09-22 | 1 | -23/+0 |
| | | | | | | 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. | ||||
* | Replace SongList with struct songvec | Eric Wong | 2008-09-20 | 1 | -0/+121 |
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). |