mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
a27bdcfe51
Instead of iterating character by character, use memchr() calls to hopefully speed up the search. A newline is the most likely culprit, so search for that first followed by a NULL byte if there was no newline in the buffer. Signed-off-by: Dan McGee <dan@archlinux.org> |
||
---|---|---|
.. | ||
libalpm |