Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-23 Thread The Rasterman
On Fri, 22 Jan 2010 11:03:05 +0800 Brian Wang said: > On Fri, Jan 22, 2010 at 10:36 AM, Carsten Haitzler > wrote: > > On Fri, 22 Jan 2010 10:15:52 +0800 Brian Wang > > said: > > > >> On Fri, Jan 22, 2010 at 9:28 AM, Carsten Haitzler > >> wrote: > >> > On Fri, 22 Jan 2010 09:15:44 +0800 Brian W

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-22 Thread Dr. Michael Lauer
Am 22.01.2010 um 02:15 schrieb Brian Wang: > [snip] >> >> And to say more, just like I did with Guarana's list, we should >> abstract the model it uses, providing functions to check the number of >> items and get items given its index. That way we can write those >> functions that query SQL and

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Brian Wang
On Fri, Jan 22, 2010 at 10:36 AM, Carsten Haitzler wrote: > On Fri, 22 Jan 2010 10:15:52 +0800 Brian Wang > said: > >> On Fri, Jan 22, 2010 at 9:28 AM, Carsten Haitzler >> wrote: >> > On Fri, 22 Jan 2010 09:15:44 +0800 Brian Wang >> > said: >> > >> >> [snip] >> >> > >> >> > And to say more, ju

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread The Rasterman
On Fri, 22 Jan 2010 10:15:52 +0800 Brian Wang said: > On Fri, Jan 22, 2010 at 9:28 AM, Carsten Haitzler > wrote: > > On Fri, 22 Jan 2010 09:15:44 +0800 Brian Wang > > said: > > > >> [snip] > >> > > >> > And to say more, just like I did with Guarana's list, we should > >> > abstract the model it

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread The Rasterman
On Fri, 22 Jan 2010 09:15:44 +0800 Brian Wang said: > [snip] > > > > And to say more, just like I did with Guarana's list, we should > > abstract the model it uses, providing functions to check the number of > > items and get items given its index.  That way we can write those > > functions that

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread The Rasterman
On Thu, 21 Jan 2010 17:04:32 +0800 Brian Wang said: sounds ok - u missed something. this isnt just height. width. and width it determined by content (eg how long is the text label). and... that can vary WILDLY. you'd have to have width fixed too. > Hello all, > > Loading (startup) performance p

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Brian Wang
On Fri, Jan 22, 2010 at 9:28 AM, Carsten Haitzler wrote: > On Fri, 22 Jan 2010 09:15:44 +0800 Brian Wang > said: > >> [snip] >> > >> > And to say more, just like I did with Guarana's list, we should >> > abstract the model it uses, providing functions to check the number of >> > items and get it

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Brian Wang
[snip] > > And to say more, just like I did with Guarana's list, we should > abstract the model it uses, providing functions to check the number of > items and get items given its index.  That way we can write those > functions that query SQL and no need to actually create a list with > 1000 elemen

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Gustavo Sverzut Barbieri
On Thu, Jan 21, 2010 at 2:53 PM, Michael 'Mickey' Lauer wrote: > Am Donnerstag, den 21.01.2010, 10:26 -0200 schrieb Gustavo Sverzut > Barbieri: >> And to say more, just like I did with Guarana's list, we should >> abstract the model it uses, providing functions to check the number of >> items and

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Michael 'Mickey' Lauer
Am Donnerstag, den 21.01.2010, 10:26 -0200 schrieb Gustavo Sverzut Barbieri: > And to say more, just like I did with Guarana's list, we should > abstract the model it uses, providing functions to check the number of > items and get items given its index. That way we can write those > functions tha

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Nicolas Aguirre
2010/1/21 Gustavo Sverzut Barbieri : > On Thu, Jan 21, 2010 at 8:30 AM, Atton Jonathan > wrote: >> 2010/1/21 Brian Wang >> >>> Hello all, >>> >>> Loading (startup) performance problem: >>> -- >>> I just had time to look at the elm_genlist performanc

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Gustavo Sverzut Barbieri
On Thu, Jan 21, 2010 at 8:30 AM, Atton Jonathan wrote: > 2010/1/21 Brian Wang > >> Hello all, >> >> Loading (startup) performance problem: >> -- >> I just had time to look at the elm_genlist performance problem again. >> Sometime ago, I asked the li

Re: [E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Atton Jonathan
2010/1/21 Brian Wang > Hello all, > > Loading (startup) performance problem: > -- > I just had time to look at the elm_genlist performance problem again. > Sometime ago, I asked the list about elm_genlist's walking through the > list at startup in o

[E-devel] elm_genlist Performance Problem Revisited (Loading and Scrolling)

2010-01-21 Thread Brian Wang
Hello all, Loading (startup) performance problem: -- I just had time to look at the elm_genlist performance problem again. Sometime ago, I asked the list about elm_genlist's walking through the list at startup in order to determine the list's width a