[gst-devel] Fwd: Re: no more GTK_CHECK_CAST in newly written code?

Andy Wingo wingo at pobox.com
Tue Apr 30 06:00:09 CEST 2002


On Tue, 30 Apr 2002, Kang Jeong-Hee wrote:

> On 2002.04.30 17:44 Sven Neumann wrote:
> > I don't think it makes sense to introduce things like GST_TYPE_PARANOID
> > to switch expensive type-checking casts on and off since the same effect
> > can be achieved by using G_DISABLE_CHECKS as provided by Glib.
> 
> I think this is good point. what about this gst team?
> (frankly I don't understand what is G_DISABLE_CHECKS this moment ;)

typechecking is on the whole quite useful, but there are some objects
that get cast a lot, and that really affect speed. GST_TYPE_PARANOID
allows us a finer grain of control.

regards,

wingo.




More information about the gstreamer-devel mailing list