diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-19 19:20:32 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-21 16:14:47 +0100 |
commit | c86ff120c870a2d0e0427567ae7449e23ad42954 (patch) | |
tree | f1d4d4e178f65854192efd4698bffc5c5627428a /test | |
parent | 01c8f39ab8db36ad7ac1c2078a8c1a5b7504192a (diff) | |
download | pacman-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 'test')
0 files changed, 0 insertions, 0 deletions