Re: [RFC PATCH 0/5] various optimizations

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

 



On Wed, Jun 04, 2014 at 12:24:32PM +0100, Daniel P. Berrange wrote:
> I'm surprised that osinfo_entity_get_type is soo high up there too.

There will be at least one osinfo_entity_get_type() call every time we
call OSINFO_ENTITY, OSINFO_IS_ENTITY, ... so this could come from that.
I think compiling with -DG_DISABLE_CAST_CHECKS would turn these calls
into noop, this could give an indication of how much we can improve
things by removing some of these get_type() calls.

Christophe

Attachment: pgptx7H6expgf.pgp
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

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

  Powered by Linux