Hi,
I think it's another behavior. The first browse scrolls a whole page of columns and also shows only 3 columns so the process is faster. The second example scrolls column by column and there are 7 columns.
In the first case it performs the painting process 42 times and in the second 98, more than 57%. If you add the pagination type to this it will increase even more.
It should be compared under equal conditions perhaps...
C.
xbrowse very slow vs Xbrowser
Re: xbrowse very slow vs Xbrowser
Salutacions, saludos, regards
"...programar es fácil, hacer programas es difícil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
"...programar es fácil, hacer programas es difícil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse very slow vs Xbrowser
okCarles wrote:Hi,
I think it's another behavior. The first browse scrolls a whole page of columns and also shows only 3 columns so the process is faster. The second example scrolls column by column and there are 7 columns.
In the first case it performs the painting process 42 times and in the second 98, more than 57%. If you add the pagination type to this it will increase even more.
It should be compared under equal conditions perhaps...
C.
My archive is made of 90/ 120 columns ( dbf or array) why I have problems ?
Answer: xbrowse uses too many codeblocks which unfortunately slow down the display with Hscroll, maybe it doesn't happen with Vscroll because it has been enhanced
I tried with an old version of xbrowse and maybe it is faster but it is a very dated version so I do not have all the features of the current xbrowse
Carles do you know what I think and I am fully convinced?
It is already a reflection that I have expressed to Antonio Linares ... that my problems (i.e. the display with many columns) that I have do not interest anyone, perhaps in the future someone else will have the same problems as me and perhaps a solution will be found, I just have to hope that this future is near
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Re: xbrowse very slow vs Xbrowser
Silvio,
I think vertical scrolling (VScroll) seems to support paging or dynamic loading, whereas horizontal scrolling (HScroll) appears to keep data in memory continuously.
Look into the xbrowse source code, and you'll see.
But you can easily build that yourself.
Simply load the data at intervals, only those that you have in the view.
Best regards,
Otto
I think vertical scrolling (VScroll) seems to support paging or dynamic loading, whereas horizontal scrolling (HScroll) appears to keep data in memory continuously.
Look into the xbrowse source code, and you'll see.
But you can easily build that yourself.
Simply load the data at intervals, only those that you have in the view.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse very slow vs Xbrowser
maybe you're right but I don't know how to do itOtto wrote:Silvio,
I think vertical scrolling (VScroll) seems to support paging or dynamic loading, whereas horizontal scrolling (HScroll) appears to keep data in memory continuously.
Look into the xbrowse source code, and you'll see.
But you can easily build that yourself.
Simply load the data at intervals, only those that you have in the view.
Best regards,
Otto
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com