Alexander Larsson
8cd5c94f42
Add pregenerated ids for TRASH_ORIG_PATH and TRASH_DELETION_DATE
...
This fixes the build for me
2010-03-08 12:03:40 +01:00
Matthias Clasen
aa065346d3
Register ids for new file attributes
2009-07-05 22:26:11 -04:00
Benjamin Otte
4b8ad50fc4
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.
2009-06-29 18:25:02 +02:00
Benjamin Otte
bd198e5e45
export and use _g_file_attribute_matcher_matches_id()
2009-06-29 18:25:02 +02:00
Benjamin Otte
ceba40c27d
add private header with attribute ids
...
attribute ids are generated when the attribute hash is initialized. This
way we can guarantee that the ids match every time.
2009-06-29 18:25:02 +02:00