Re: [PATCHv2 02/10] virsh: reduce complexity in argv iteration

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

 



2011/6/14 Eric Blake <eblake@xxxxxxxxxx>:
> This reduces things from O(n^2) to O(n).
>
> * tools/virsh.c (vshCommandOptArgv): Change signature.
> (cmdEcho): Update caller.
> Based on a patch by Lai Jiangshan.
> ---
>
> v2: Drop the macro, avoid __ naming, reduce patch size
>
> Âtools/virsh.c | Â 21 ++++++++++++---------
> Â1 files changed, 12 insertions(+), 9 deletions(-)

ACK.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]