Re: RFC: Operation Options API proposal



On Tue, 2011-03-29 at 13:02 +0200, Iago Toral Quiroga wrote:
> > If at some point experience shows GData is too slow (it's
> implemented
> > with a linked list), we can still switch to GHashTable + GValue, but
> > that would make the code a bit more complicated, especially since
> the
> > stuff we would store would need to be GType registered (or use
> GBoxed).
> > Just passing the value and a destructor sounds much simpler to me.
> 
> I think the risk with this approach is not performance but semantics.
> The problem that GrlData tries to solve is not the same we try to
> solve
> with GrlOptions or GrlCaps. GrlData is there to solve the needs of the
> content hierarchy (GrlMedia, GrlAudio, etc) and it may need to be
> changed in the future to fit those needs, rendering it not so useful
> for
> the case of GrlOptions or GrlCaps any more. 


I think he is trying with GData, not GrlData :)

	J.A.




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