[ardour-dev] gtk2 port: decrease ardour.bin's size by 1.5%
annabellesgarden at yahoo.de
Sat Dec 17 04:39:03 PST 2005
I'd like to commit attached patch.
It decreases code size (1.5% here on FC4 at x86_64)
by omitting string constructor calls in situations,
where C style strings are passed to functions expecting
std::string (or glib::ustring) arguments.
Attached patch simply adjusts those functions to accept a C style
"const char *". Functionality should be 100% equal as the std::string
(or glib::ustring) constructor call is simply moved from
"before the function is called"
"inside the function"
Will commit tomorrow, if nobody disagrees.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10462 bytes
Desc: not available
More information about the Ardour-Dev