Closed Phrogz closed 8 years ago
Calling @mpd.where file:'.' on a ~slow music server with ~17k songs takes 1.15 seconds. With this minimal patch (using sets instead of arrays to categorize command types) that time is reduced to 0.99 seconds, a savings of almost 14%.
@mpd.where file:'.'
Calling
@mpd.where file:'.'
on a ~slow music server with ~17k songs takes 1.15 seconds. With this minimal patch (using sets instead of arrays to categorize command types) that time is reduced to 0.99 seconds, a savings of almost 14%.