add g_file_attribute_set_*_by_id() and use them
authorBenjamin Otte <otte@gnome.org>
Mon, 29 Jun 2009 13:28:08 +0000 (15:28 +0200)
committerBenjamin Otte <otte@gnome.org>
Mon, 29 Jun 2009 16:25:02 +0000 (18:25 +0200)
commit4b8ad50fc4463d72862d29a8802b5982e66c0fc2
tree1b88867e57ad4888b08fba1122eb99ffad43ebc9
parentbd198e5e45282886ea2bad14e987c7c01b163cb3
add g_file_attribute_set_*_by_id() and use them

This patch and the previous ones fixes the performance issues noted in
Bug 587089 – lookup_attribute() takes too much CPU
It increases performance for querying attributes by ~15% in my tests.
gio/gfileinfo-priv.h
gio/gfileinfo.c
gio/glocalfileinfo.c