logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [RFC] Glib::filename_(to|from)_unicode =>Glib->filename_(to|from)_unic: msg#00173

Subject: Re: [RFC] Glib::filename_(to|from)_unicode =>Glib->filename_(to|from)_unicode?

On Wednesday, December 24, 2003, at 10:30 AM, Torsten Schoenfeld wrote:

On Wed, 2003-12-24 at 15:57, Ross McFarland wrote:

another interesting thing to time would be if the class paramter had a
type.

For whatever reason, it seems to be a bit faster:

i would imagine it's a fluke. omiting the type actually causes xsubpp not to generate any C code for that parameter. the only real reason that the :: syntax would be faster than -> is that the arrow syntax actually triggers a method lookup rather than just going straight to the right spot. as you already showed, this is negligible in the grand scheme.

--
"it's hard to be eventful when you have this much style."
   - me, rationalizing yet another night of sitting at home.


<Prev in Thread] Current Thread [Next in Thread>