Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-19 12:20:32 -0600
committerDan McGee <dan@archlinux.org>2011-01-21 09:14:47 -0600
commitc86ff120c870a2d0e0427567ae7449e23ad42954 (patch)
treef1d4d4e178f65854192efd4698bffc5c5627428a /lib/libalpm/be_sync.c
parent01c8f39ab8db36ad7ac1c2078a8c1a5b7504192a (diff)
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_sync.c')
0 files changed, 0 insertions, 0 deletions