Re: gtk+ speed



On Mon, Dec 22, 2008 at 05:30:32PM +0100, Christian Dywan wrote:

> > As you say, because type casts are dinamic, there's the overhead
> > of calling g_type_check_instance_* which in languages like C++ is
> > not needed because it's done at compilation time. I suspect that
> > this overhead is negligible (I haven't made real tests, though).
> To be fair, you should consider that C++ has other overheads, and is
> particularly hard to parse from the perspective of a compiler.

Yeah, I didn't mean to compare both languages, only to point out
the additional overheads that GObject might have compared to other
object-oriented implementations.

-- 
Alberto García González
http://people.igalia.com/berto/


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