pacman/src
Dave Reisner 11ab9aa9f5 pacman/callback: reuse strlen calculation
Call strlen earlier in the dl progress callback, and reuse this length
to replace some heavier str*() calls with more optimized mem*()
replacements. This also gets rid of a false assumption that the ending
string will ever be longer than the original string.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-01 11:33:28 -05:00
..
pacman pacman/callback: reuse strlen calculation 2011-09-01 11:33:28 -05:00
util pacsort: use boolean, not binary OR operation 2011-08-29 19:53:58 -05:00