cbmc-viewer icon indicating copy to clipboard operation
cbmc-viewer copied to clipboard

Use cElementTree to reduce memory consumption

Open tautschnig opened this issue 1 year ago • 0 comments

Description of changes:

Parsing CBMC's results in a memory consumption that is 100 times the size of the input file. Switching to cElementTree appears to halve the memory footprint, which can make the difference as to whether this fits into host memory. We could reduce the memory footprint a lot by iterating (and cleaning up) over the input XML nodes, but this requires a much larger re-architecting of the source.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tautschnig avatar Sep 17 '24 18:09 tautschnig