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 brian.wang.0...@gmail.com said: On Fri, Jan 22, 2010 at 10:36 AM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 22 Jan 2010 10:15:52 +0800 Brian Wang brian.wang.0...@gmail.com said: On Fri, Jan 22, 2010 at 9:28 AM, Carsten Haitzler

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 no need to

[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

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

2010-01-21 Thread Atton Jonathan
2010/1/21 Brian Wang brian.wang.0...@gmail.com 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

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 jonathan.at...@gmail.com wrote: 2010/1/21 Brian Wang brian.wang.0...@gmail.com Hello all, Loading (startup) performance problem: -- I just had time to look at the elm_genlist performance problem

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

2010-01-21 Thread Nicolas Aguirre
2010/1/21 Gustavo Sverzut Barbieri barbi...@profusion.mobi: On Thu, Jan 21, 2010 at 8:30 AM, Atton Jonathan jonathan.at...@gmail.com wrote: 2010/1/21 Brian Wang brian.wang.0...@gmail.com Hello all, Loading (startup) performance problem: -- I

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 that

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 elements in

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 ras...@rasterman.com wrote: On Fri, 22 Jan 2010 09:15:44 +0800 Brian Wang brian.wang.0...@gmail.com 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

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 brian.wang.0...@gmail.com 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

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 brian.wang.0...@gmail.com 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

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 brian.wang.0...@gmail.com said: On Fri, Jan 22, 2010 at 9:28 AM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 22 Jan 2010 09:15:44 +0800 Brian Wang brian.wang.0...@gmail.com said: [snip] And to say more, just like I did with

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 ras...@rasterman.com wrote: On Fri, 22 Jan 2010 10:15:52 +0800 Brian Wang brian.wang.0...@gmail.com said: On Fri, Jan 22, 2010 at 9:28 AM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 22 Jan 2010 09:15:44 +0800 Brian Wang