summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-19 19:20:32 +0100
committerDan McGee <dan@archlinux.org>2011-01-21 16:14:47 +0100
commitc86ff120c870a2d0e0427567ae7449e23ad42954 (patch)
treef1d4d4e178f65854192efd4698bffc5c5627428a /lib/libalpm/be_package.c
parent01c8f39ab8db36ad7ac1c2078a8c1a5b7504192a (diff)
downloadpacman-c86ff120c870a2d0e0427567ae7449e23ad42954.tar.gz
pacman-c86ff120c870a2d0e0427567ae7449e23ad42954.tar.xz
Improve splitname memory allocation
We don't need to create a temporary copy of the string if we are smart with our pointer manipulation and string copying. This saves a bunch of string duplication during database parsing, both local and sync. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_package.c')
0 files changed, 0 insertions, 0 deletions