Re: [RFC] Glib::filename_(to|from)_unicode =>Glib->filename_(to|from)_unicode?
- From: "Ross McFarland" <rwmcfa1 neces com>
- To: gtk-perl-list gnome org
- Subject: Re: [RFC] Glib::filename_(to|from)_unicode =>Glib->filename_(to|from)_unicode?
- Date: Wed, 24 Dec 2003 09:57:30 -0500 (EST)
Torsten Schoenfeld said:
I implemented the arrow using XS subs and according to my
benchmark the colon syntax is only about 13% faster, which is
obviously the extra work is passing the parameter, which is unused. hopefully,
at least for this function that won't matter as i can't imagine it getting
called that frequently. but it's nice to have a number. another interesting
thing to time would be if the class paramter had a type.
const char *
filename_from_unicode_with_class (class, filename)
SV * class
obviously early versions of gtk2-perl did this for all sorts of unused params.
] [Thread Prev