Re: Overhead of type casting when using GObject system

On Sun, Feb 10, 2013 at 11:08:31AM +0000, Emmanuele Bassi wrote:
> disabling cast checks is usually the result of performance profiling,
> tho, so it should only be used if you have profiled your application
> code and verified that type casting is high on the profiles; there are
> also various ways to avoid that, by using ancillary values and the
> correct type to minimize casting, before a blanket type cast check
> disable.

What are ancillary values, and how can you use them to minimize casting?

Ross Lagerwall

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