summaryrefslogtreecommitdiffstats
path: root/src/common/util-common.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-08-01 23:19:46 +0200
committerAllan McRae <allan@archlinux.org>2014-08-04 06:23:58 +0200
commit22e478d20322a1d224fc41866d018d4b8a774057 (patch)
tree6768f5483bbb144d70114cecb3a53e85db7939bf /src/common/util-common.h
parent85c80542a5c52311fdde71459a924d87ec95cc93 (diff)
downloadpacman-22e478d20322a1d224fc41866d018d4b8a774057.tar.gz
pacman-22e478d20322a1d224fc41866d018d4b8a774057.tar.xz
pactest: delay test object creation
The actual test object is only used to run the test. Storing test cases as strings limits the test object scope and allows it to be garbage collected, reducing memory usage when multiple tests are run. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/common/util-common.h')
0 files changed, 0 insertions, 0 deletions