[gexiv2] [PATCH] Add Metadata methods to get all tags and values
- From: Michael Pratt <michael pratt im>
- To: gexiv2-list gnome org
- Subject: [gexiv2] [PATCH] Add Metadata methods to get all tags and values
- Date: Mon, 5 May 2014 15:59:26 -0400
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]