xbrowse very slow vs Xbrowser

Re: xbrowse very slow vs Xbrowser

Postby Carles » Thu Nov 14, 2024 6:27 am

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.
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
User avatar
Carles
 
Posts: 1136
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: xbrowse very slow vs Xbrowser

Postby Silvio.Falconi » Thu Nov 14, 2024 8:15 am

Carles 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.


ok
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
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: xbrowse very slow vs Xbrowser

Postby Otto » Thu Nov 14, 2024 10:00 am

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: xbrowse very slow vs Xbrowser

Postby Silvio.Falconi » Thu Nov 14, 2024 1:35 pm

Otto 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


maybe you're right but I don't know how to do it
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
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 41 guests