diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-08-01 14:19:46 -0700 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-04 14:23:58 +1000 |
commit | 22e478d20322a1d224fc41866d018d4b8a774057 (patch) | |
tree | 6768f5483bbb144d70114cecb3a53e85db7939bf /src/util/pacsort.c | |
parent | 85c80542a5c52311fdde71459a924d87ec95cc93 (diff) |
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/util/pacsort.c')
0 files changed, 0 insertions, 0 deletions