Re: [gupnp] Introspection is here!

From: ذیشان ءلی (Zeeshan Ali) <zeenix@gstreamer.net>
Date: Tue Jul 17 2007 - 11:36:16 EDT

Hello!

> o Parsing the relevant SCPD bits on demand as much as possible,
> while still being caching.
>
> This because GUPnPService will need and only need
> _list_state_variable_names(), and it would be a waste to parse and
> cache all the other non necessarily necessary information.

    Looking at the code and giving this more thought, i can't think of
any clean way to make this happen without a major re-write. :( The
thing is that when i started to write this introspection object, i (or
even you) didn't know that you'll be using it in some other gupnp
object itself so i didn't keep this in mind while writing it. Anyway!
I will look into this later after writing the device-spy unless you
think the current memory usage is unforgivable, which i doubt since i
just checked the memory usage of test-introspection against that of
test-client and astonishingly, test-client appear to be using slightly
more memory.

P.S device-spy seem like a stupid name to me, any ideas? :) It will be
a very generic UPnP control-point so gupne-control-point or
gupnp-generic-cp comes to mind.

-- 
Regards,
Zeeshan Ali
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
Received on Tue, 17 Jul 2007 18:36:16 +0300

This archive was generated by hypermail 2.1.8 : Tue Jul 17 2007 - 12:00:05 EDT