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