diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-09 20:34:13 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-09 21:14:55 +0200 |
commit | 9d6568da0f55fb05ea5c28e06efb51046fd270bf (patch) | |
tree | 6ca9f8c19159ca26c81b07c3fc55ee3ae65f7757 /po/da.po | |
parent | 451cd2c88dcdec793ce7159331adcc2d049381e1 (diff) | |
download | pacman-9d6568da0f55fb05ea5c28e06efb51046fd270bf.tar.gz pacman-9d6568da0f55fb05ea5c28e06efb51046fd270bf.tar.xz |
_alpm_lstat: only duplicate string if necessary
The vast majority of the time we will just be passing the same string
value on to the lstat() call. The only time we need to duplicate it is
if the path ends in '/'. In one run using a profiler, only 400 of the
200,000 calls (0.2%) required the string to be copied first.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'po/da.po')
0 files changed, 0 insertions, 0 deletions