Search found 34 matches: buffering

Return to advanced search

Re: xbrowse too slow

I just tested a database of 26,000 records. With, or without, buffering it is quite fast--about 1 full screen per second (on a local drive). If yours is slower, it is due to other routines you are calling from TXBrowse, not TXBrowse itself. I'm not sure ...
by James Bott
Fri Sep 20, 2019 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 5015

Re: xbrowse too slow

Ok, my mistake. I was right AND I was wrong. You can turn off buffering, but not by changing the class variable lBuffer directly. You must do it this way: oDBF:setBuffer(.F.) Technically, lBuffer should be a hidden variable that cannot be changed by the ...
by James Bott
Wed Sep 18, 2019 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 5015

Re: xbrowse too slow

Turn off buffering.

oDBF:lBuffer:=.f.
by James Bott
Tue Sep 17, 2019 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 5015

Re: To James Bott - Error Using TData

... possible. The philosophy was to write each piece of code only once. So, in this case, it handles all scatter and gather routines, record locking, buffering, loading and saving the data all done with multi-user compatiability. It has worked great with every other customer I have had except you ...
by James Bott
Tue May 28, 2019 8:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 7181

Re: TFBuffer, una clase para acelerar la escritura en ficheros

Great !!!
Can it be used for buffering the write on DBF files too ?
by Massimo Linossi
Sun May 06, 2018 6:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFBuffer, una clase para acelerar la escritura en ficheros
Replies: 7
Views: 2592

Alternative Gif Control

... I resolved the first problem keeping a HGLOBAL with the gif from resource, so loading it in memory. The second problem is solved using double buffering and the background brush. Because is a little big, i put the code online: http://amicoperry.altervista.org/data/gif.prg It ...
by AntoninoP
Fri Dec 01, 2017 4:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alternative Gif Control
Replies: 22
Views: 5267

Re: Acelerar xbrowse

No es exactamente el mismo caso, pero alguna vez utilicé una técnica de buffering con browses con muchas columnas, y esas columnas eran cálculos más o menos complejos hechos de forma dinámica.
Tendría que ver exactamente en qué consistía.
by hmpaquito
Wed Jul 12, 2017 7:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Acelerar xbrowse
Replies: 12
Views: 2238

Re: Tdata still Up to Date ?

... read and understand. What you don't see is all the code it inherits. You don't have to deal with workareas, opening databases, alias referencing, buffering data, record locking and record locking failures, etc. James James, I'm not ready yet for this.... I'm in a copy/paste from samples and build ...
by Marc Venken
Fri May 26, 2017 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdata still Up to Date ?
Replies: 25
Views: 6186

Re: Tdata still Up to Date ?

... read and understand. What you don't see is all the code it inherits. You don't have to deal with workareas, opening databases, alias referencing, buffering data, record locking and record locking failures, etc. James
by James Bott
Thu May 25, 2017 11:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdata still Up to Date ?
Replies: 25
Views: 6186

Re: hb_xrealloc can't reallocate memory

Hi Enrico, We need to clear understand if and where the problem is. IMHO the "where" is clear: buffering in a string built of small pieces in a intense computing program could lead in reallocation problems due to Harbour's memory management lack of garbage collection. ...
by Carlos Mora
Thu Sep 03, 2015 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_xrealloc can't reallocate memory
Replies: 21
Views: 8096

Re: hb_xrealloc can't reallocate memory

... after each record during APPENDs. This was taking 11 hours to append 26 thousand records. Appending the same file using DBFs took 1 second. So, buffering before writing to disk provides a tremendous increase in speed. One would expect this since writing to disk is a physical process which will ...
by James Bott
Wed Sep 02, 2015 9:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_xrealloc can't reallocate memory
Replies: 21
Views: 8096

program buffer or a keyboard buffer

... level buffer. The only time it would stay at a lower level buffer is if the system is too busy to process the input in time. At this level 'buffering' is really just a semantic concept; the system is basically at rest, the input has been processed, transformed into a UTF-8 string and stored ...
by Otto
Thu Feb 05, 2015 3:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: program buffer or a keyboard buffer
Replies: 10
Views: 2756

program buffer or a keyboard buffer

... level buffer. The only time it would stay at a lower level buffer is if the system is too busy to process the input in time. At this level 'buffering' is really just a semantic concept; the system is basically at rest, the input has been processed, transformed into a UTF-8 string and stored ...
by Otto
Thu Feb 05, 2015 3:18 pm
 
Forum: EasyReport, EasyDialog and EasyPreview
Topic: program buffer or a keyboard buffer
Replies: 1
Views: 1999

Re: dbcombo blank

... with my enhanced TData class. For more info about database classes, TData, and TRecord see my website gointellitech.com. [Yes, this is double-buffering, but made simple and smart.] oItem:= TRecord():new(::oItems) oItem:qty:= 7 oItem:save() FWH natively provides TDataRow() oRec := TDataRow():New( ...
by nageswaragunupudi
Sun Jan 04, 2015 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbcombo blank
Replies: 5
Views: 1539

Re: dbcombo blank

... data without it affecting the database record. So, when you are then assigning the oTdesc:desc1 data to a memory var you are essentially double buffering the data (and writing way more code). So you can now do: oDesc:= TDescrip():New() oDesc:desc1:="whatever" oDesc:save() And you have ...
by James Bott
Tue Dec 09, 2014 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbcombo blank
Replies: 5
Views: 1539
Next

Return to advanced search