Re: [Evolution-hackers] libebook scalability
- From: Matthew Barnes <mbarnes redhat com>
- To: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] libebook scalability
- Date: Sun, 01 Apr 2007 19:35:05 -0400
On Mon, 2007-04-02 at 01:12 +0200, �stein Gisn�wrote:
> I discovered a bottleneck for addressbook performance with large
> addressbooks. Details at
> http://n800evolution.blogspot.com/2007/04/libebook-scalability.html
>
> A proposed fix is attached. I'm not sure if order matters when
> returned from the backend? Does anyone know? If not, g_list_reverse
> can be omitted.
Nice catch! An audit of the code base for similar cases would definitely
be helpful. In some cases it might be more convenient to use a GQueue,
which provides O(1) appends.
Matthew Barnes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]