On 4/21/06, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:
> Ben Combee wrote:
> >
> > If your system can use GLib, there's a nice dataset implementation
> > there that lets you store keyed data to go with a private pointer from
> > another library.  That might be an efficient and already written way
> > to associate data with IDFBSurface pointers.
>
> There can't be anything faster than adding a dedicated and reserved
> storage in the object itself :)
>
> Otherwise, I guess they have a fast hash table for that.

True, adding a storage member is faster, but it also adds complexity
to the interface.  However, if we're adding accessors to the surface
state, then more complexity probably isn't too bad, especially if it
allows quick operation for drivers.

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to