Re: Overhead of type casting when using GObject system
- From: Ross Lagerwall <rosslagerwall gmail com>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: GTK Devel List <gtk-devel-list gnome org>
- Subject: Re: Overhead of type casting when using GObject system
- Date: Sun, 10 Feb 2013 13:57:32 +0000
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?
Regards
--
Ross Lagerwall
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]