[vlc-devel] [PATCH] GSoC: lua services discovery, core part

Rémi Denis-Courmont remi at remlab.net
Wed Nov 11 10:07:33 CET 2009

On Wed, 11 Nov 2009 01:13:34 +0100, Fabio Ritrovato
<exsephiroth87 at gmail.com> wrote:
> On Wed, Nov 11, 2009 at 12:07 AM, Jakob Leben <jakob.leben at gmail.com>
> wrote:
>> If the function covers all kinds of requests, why don't we use that same
>> function for item-delete requests and item-get requests? I must join the
>> opinion that this is somewhat inconsistent.
> Well, i guess you have a point, I just thought it was better to have 3
> different functions than a big one to handle everything with a
> parameter to decide what to do...

In fact, separate functions are probably better. Otherwise, we+ ll just end
up multiplexing on the caller side and demultiplexing on the callee side,
which is a waste of both developer and CPU time.

Rémi Denis-Courmont

More information about the vlc-devel mailing list