On 2012-05-22 14:35, Holger Levsen wrote:
>> piuparts-report is a bit of a resource hog, both in terms of RAM usage
>> and clock time. There is a loop in the main routine that maintains an
>> array of Section objects, which is never accessed. Removing this array
>> would permit those objects to be garbage collected earlier.

Good catch!

> looking at the code it seems your right, but have you tested it? :-) 
> Strangely 
> this code is like this since always, ie it predates my involvement with 
> piuparts.

Just finished a run of -report with this patch applied. No problems
seen. Can't evaluate the memory savings (still takes a lot ...).
Please apply.

Signed-off-by: Andreas Beckmann <[email protected]>

Andreas



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to