On Fri, 2009-07-10 at 16:18 +0300, Vasily Khoruzhick wrote:
> On Friday 10 July 2009 16:13:08 Bastien Nocera wrote:
> 
> > Even better would be to get rid of strips_len and use g_slist_length
> > instead everywhere (the list wouldn't be long enough as for this to
> > matter, right?).
> 
> AFAIR up to 100 items for slow swipe

Then it might be a good idea to use a GPtrArray instead, so that the
length is cached, and we can avoid allocating memory for each little bit
of data.

But I know Daniel wanted to reduce the glib dep in libfprint.

Cheers

_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to