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

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



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 veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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