GNOME Bugzilla – Bug 738374
gfile: g_file_equal (x, x) is TRUE
Last modified: 2014-10-21 20:52:09 UTC
Here's a tiny optimization/clarification for g_file_equal().
Created attachment 288295 [details] [review] gfile: g_file_equal (x, x) is TRUE So shortcut it. I wrote this patch less as a performance optimization and more as a clarification, so that people looking at the code can be assured of this invariant.
Review of attachment 288295 [details] [review]: Looks good.
Attachment 288295 [details] pushed as 4125415 - gfile: g_file_equal (x, x) is TRUE