Re: [gexiv2] [PATCH] Add Metadata methods to get all tags and values



Hi Michael,

I did see the patch and intend to review it soon.  I've been head's-down on California and haven't had a chance to look at your patch.  I'll try and get to it soon.

Thanks,

-- Jim

On Mon, May 5, 2014 at 12:59 PM, Michael Pratt <michael pratt im> wrote:
Hi,

I was having performance issues reading every tag in a large number of images, due to the O(n) tag lookup time.  I wanted to be able to store the tags in a hash table to provide O(1) lookup times, so I added several methods that return all tag, value pairs from the metadata.

I have submitted the patch on Bugzilla, at the following address, and just wanted to send this email in case you did not see the patch:
https://bugzilla.gnome.org/show_bug.cgi?id=728072

I have never used GLib before, so I may have misused some structures, but I have been using the patch for several weeks now without issues.  The data structure I built using the methods in the patch have provided an order of magnitude improvement in run time for reading all tags.

--
Regards,
Michael Pratt


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