Re: [libvirt] PATCH: 22/28: Refactor libvirtd RPC call dispatcher

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

 



On Mon, Dec 01, 2008 at 12:13:00AM +0000, Daniel P. Berrange wrote:
> 
> This refactors the libvirtd RPC call dispatcher code to be driven off a
> table lookup, rather than a giant switch. This dramatically reduces the
> stack usage of this dispatcher and makes the code more efficient, since
> GCC wasn't optimizing away the switch into a table lookup.
> 
> There's not been any change since last time i posted this really.

  +1 it's mostly unreadable anyway :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
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]