[Piuparts-devel] get_files_owned_by_packages

Herbert Fortes terberh at gmail.com
Tue May 21 08:12:04 BST 2019


> On 5/15/19 2:50 AM, Niels Thykier wrote:
> 
>>> I suspect that something like:
>>>
>>> """
>>>   with open(path) as fd:
>>>     for line in fd:
>>>       ...
>>> """
>>>
>>> Will be considerably faster if /var/.../info has a non-trivial size

It is. 

Needs to run timeit a few times to have consistents results.



Regards,
Herbert




More information about the Piuparts-devel mailing list