Re: Can Objects has multiple classes?
- From: Ryan McDougall <NQG24419 nifty com>
- To: gtk-devel-list gnome org
- Subject: Re: Can Objects has multiple classes?
- Date: Thu, 05 Aug 2004 20:00:34 +0900
On Thu, 2004-05-08 at 18:11 +0900, Ryan McDougall wrote:
> Hello,
> The idea is to jump directly to the correct function without
> incurring the cost of constantly (typeA)? fun1() : fun2(); by setting
> the class pointer at initialization.
>
Oh yeah, and the (type)? fun1:fun2 may be potentially called thousands
of times in loops by design necessity. I'd prefer to set it to fun1 or
fun2 at init time without having every object waste 8 bytes.
>
> Cheers,
> Ryan
>
Cheers,
Ryan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]