1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00
Files
CumulusNetworks-ifupdown2/debian
Julien Fortin e15c8287cc SCALE: addressvirtual: replace glob.glob with listdir
using glob.glob is way to costly, use os.listdir to increase
performances.

Test with timeit show the following for 10k loop:
time_glob executed in 39.16788899600215 seconds
time_listdir executed in 5.625843115005409 seconds

Signed-off-by: Julien Fortin <jfortin@nvidia.com>
2023-12-20 17:51:06 +01:00
..
2023-05-04 13:21:55 +02:00
2019-12-17 13:46:18 +01:00
2018-12-13 11:43:32 -08:00
2019-12-17 13:46:18 +01:00
2018-12-13 11:43:32 -08:00
2018-12-13 11:43:32 -08:00
2018-12-13 11:43:32 -08:00
2019-12-17 13:46:18 +01:00