[evolution-patches] Linear searches in EContact



Hi,

Every time a field is access from an EContact, a linear search is done
over the 100-odd item table describing the fields.  This is very
wasteful as it can be re-ordered to match the order of the EContactField
enum and simply indexed.

Patch at http://bugzilla.gnome.org/show_bug.cgi?id=318880.

(please CC)

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]