diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-22 19:09:58 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-07 10:04:14 -0600 |
commit | 86cb6e1f0f59f760a936f648a20206af095a196b (patch) | |
tree | adc4b7e6216f58565c125ff35c5716e1463fa951 /lib/libalpm/alpm_list.c | |
parent | 0e4946d5593e5968c1d6bca50402eaf7a8620526 (diff) | |
download | pacman-86cb6e1f0f59f760a936f648a20206af095a196b.tar.xz |
Slight local database files reading optimization
Since we know the length of the line, we can use this all the way
through and do a cheaper operation than strdup() by just invoking malloc
and memcpy directly.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
0 files changed, 0 insertions, 0 deletions