diff options
author | Max Kellermann <max@musicpd.org> | 2020-04-02 15:36:58 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-04-02 16:12:08 +0200 |
commit | cdddaf21b006163fa771ab2a626925d5bbaa0eb9 (patch) | |
tree | 9ee51e209c7ff2b4038f91ebe10ac567d1e3c776 /src/fs | |
parent | b267ba5f0a79817de1f1c52d5c3896cdb4a3f682 (diff) |
db/simple/Directory: optimize GetName() using the parent's path
This method gets called a lot during MPD startup, via FindChild() and
directory_load_subdir(), so this is worth optimizing at the expense of
code readability.
This speeds up MPD startup by 10%.
Diffstat (limited to 'src/fs')
0 files changed, 0 insertions, 0 deletions