summaryrefslogtreecommitdiffstats
path: root/TODO.dan
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-19 19:00:39 +0100
committerDan McGee <dan@archlinux.org>2011-01-21 16:14:47 +0100
commit01c8f39ab8db36ad7ac1c2078a8c1a5b7504192a (patch)
treeb820fe3d07c7178af3f92c451a5c6572bf937753 /TODO.dan
parentaff3e63c451ead18571a8abed56e911f71906fe6 (diff)
downloadpacman-01c8f39ab8db36ad7ac1c2078a8c1a5b7504192a.tar.gz
pacman-01c8f39ab8db36ad7ac1c2078a8c1a5b7504192a.tar.xz
Improve depends string parsing
Remove the need for an unconditional string duplication by using pointer arithmetic instead, and strndup() instead of an unspecified-length strdup(). This should reduce memory churn a fair amount as this is called pretty frequently during database loads. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'TODO.dan')
0 files changed, 0 insertions, 0 deletions