summaryrefslogtreecommitdiff
path: root/test/pacman/util.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-22 19:09:58 -0600
committerDan McGee <dan@archlinux.org>2011-12-07 10:04:14 -0600
commit86cb6e1f0f59f760a936f648a20206af095a196b (patch)
treeadc4b7e6216f58565c125ff35c5716e1463fa951 /test/pacman/util.py
parent0e4946d5593e5968c1d6bca50402eaf7a8620526 (diff)
Slight local database files reading optimization
Since we know the length of the line, we can use this all the way through and do a cheaper operation than strdup() by just invoking malloc and memcpy directly. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/util.py')
0 files changed, 0 insertions, 0 deletions