Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/TODO.dan
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-09 13:34:13 -0500
committerDan McGee <dan@archlinux.org>2011-06-09 14:14:55 -0500
commit9d6568da0f55fb05ea5c28e06efb51046fd270bf (patch)
tree6ca9f8c19159ca26c81b07c3fc55ee3ae65f7757 /TODO.dan
parent451cd2c88dcdec793ce7159331adcc2d049381e1 (diff)
_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 'TODO.dan')
0 files changed, 0 insertions, 0 deletions