On Wed, Apr 03, 2013 at 04:28:35PM +0200, David Durieux wrote: > Le 2013-04-03 16:08, Gonéri Le Bouder a écrit : > >On Tue, Apr 02, 2013 at 08:06:43PM +0200, Guillaume Rousse wrote: > >>Le 02/04/2013 17:54, David Durieux a écrit : > > > >As Kévin said, I think Collect > >( http://www.fusioninventory.org/documentation/dev/spec/api/rest-collect/ > >) > >is the way to go. Espcially "findFile". > > I have tried some minutes ago my code to get all files with .ttf and .otf > parse them with Font::TTF (because compiled) to extract manufacturer, real > name of font and version use less than 1 second. Good for you. > With "findFile", it use more than 2 minutes (stopped before end of task) and > so only to get files That's not the point. - findFile aims to be generic exactily to avoid situation like this one where everyone start a new module as soon as a new need arise - findFile specification has been started a last 12 months ago and I got zero feedback from you during these 12 months - performance can be improved by depending on "locate" and friends.
Best regards,
--
Gonéri
pgpNx7ri5Eid_.pgp
Description: PGP signature
_______________________________________________ Fusioninventory-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel
