mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
docs: Improved the docs of helper getters optimization in g_file_info.c
g_file_info_get_name() gives result faster than g_file_info_get_attribute_byte_string() Closes #310
This commit is contained in:
parent
e944cf8b1c
commit
69be87dda1
@ -46,6 +46,11 @@
|
|||||||
* g_file_query_writable_namespaces() to discover the settable attributes
|
* g_file_query_writable_namespaces() to discover the settable attributes
|
||||||
* of a particular file at runtime.
|
* of a particular file at runtime.
|
||||||
*
|
*
|
||||||
|
* The direct accessors, such as g_file_info_get_name(), are slightly more
|
||||||
|
* optimized than the generic attribute accessors, such as
|
||||||
|
* g_file_info_get_attribute_byte_string().This optimization will matter
|
||||||
|
* only if calling the API in a tight loop.
|
||||||
|
*
|
||||||
* #GFileAttributeMatcher allows for searching through a #GFileInfo for
|
* #GFileAttributeMatcher allows for searching through a #GFileInfo for
|
||||||
* attributes.
|
* attributes.
|
||||||
**/
|
**/
|
||||||
|
Loading…
Reference in New Issue
Block a user