[development] performance foo
Chris Johnson
chris at tinpixel.com
Wed Dec 14 21:34:59 UTC 2005
Moshe Weitzman wrote:
> Neil Drumm wrote:
>> Why do we even need these one-line functions? Can't the calling code
>> just do the casting?
>
>
> not always. there are contexts in which function is legal but a cast is
> not. if anyone tries to change all the calls to these objects they will
> run into this.
>
Hmm. That certainly could be, although I am unable to imagine such an
instance. In my quick grep through the repositories, I'm not seeing any that
cannot be changed.
Can you give an example where a cast could not be used?
..chrisxj
More information about the development
mailing list