GNOME Bugzilla – Bug 302743
gnome_vfs_uri_equal speed enhancement
Last modified: 2005-11-08 19:24:07 UTC
Version details: I checked 2.9.3 Distribution/Version: Debian because a GnomeVFSURI is reference counted, there is quite a possibility that two uri's that are compared are actually the same. First line in the function should therefore be if (a == b) return TRUE;
Thanks for filing this bug bug report. This suggestion would indeed be a worthwhile enhancement.
Created attachment 46151 [details] [review] Proposed patch (HEAD). Trivial patch attached.
Commited to both branches.