[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/9] libports: reduce malloc overhead in _ports_bucket_class_

From: Samuel Thibault
Subject: Re: [PATCH 3/9] libports: reduce malloc overhead in _ports_bucket_class_iterate
Date: Tue, 29 Apr 2014 02:02:13 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Mon 28 Apr 2014 12:19:58 +0200, a écrit :
> ports_class_iterate.  For this change might make ports_class_iterate
> less efficient memory-wise if the number of ports belonging to the
> class is low with respect to the number of ports in the bucket.

I'd say reallocing the array to the right size, right after filling it,
would be fine enough for keeping memory use efficient enough.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]