Re: [Vala] Vala vs Mono performance benchmark project



On Mon, Jan 31, 2011 at 17:35:09 +0000, Aleksander Wabik wrote:
Hi Pancake,

I'll play with signals for a moment - will the marshallers be gone when
using g_signal_emit()? I guess that they are generating much overhead...

Unfortunately, no, they won't. They are there because C cannot do argument
forwarding. The, IMHO somewhat unfortunate, choice of using GValue arrays
instead of working with the va_args directly is what is causing the overhead.

Note, that with va_args, any language binding could still provide it's own
set of marshallers to handle conversion to anything they need.

-- 
                                                 Jan 'Bulb' Hudec <bulb ucw cz>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]