Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #635

Re: Replacing LV with bBrowser: much slower because of arrayserver

From E®!k \\/!$$E® <nospam@nospam.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Replacing LV with bBrowser: much slower because of arrayserver
Date 2011-04-02 08:58 +0200
Message-ID <8vnvp4Fl4lU1@mid.individual.net> (permalink)
References <75mbp6djn5fd676qblqrg3u1k18emu916c@4ax.com> <4d965b49$0$88196$c30e37c6@exi-reader.telstra.net> <35edp69tpvt0n7u2t24gsmioonp7q6btvs@4ax.com>

Show all headers | View raw


Dick,
Aadd() is an expensive function. The fastest way would be not to add the 
elements one-by -one, but to size the array first and fill it later
If you do not know the numbers of rows, count them first.

See this thread:
http://groups.google.com/group/comp.lang.clipper.visual-objects/browse_thread/thread/7c61a878a34eab62/a897935ae1901439?lnk=gst&q=aadd+expensive#a897935ae1901439

greetings from the Top of Holland,

Erik





"D.J.W. van Kooten"  wrote in message 
news:35edp69tpvt0n7u2t24gsmioonp7q6btvs@4ax.com...

On Fri, 1 Apr 2011 23:10:00 +0000, "Geoff Schaller"
<geoffx@softwarexobjectives.com.au> wrote:

Hello Geoff, Mathias,
>
>If you are using bArrayServer, make sure you suspend notification.
>However, it will always be faster to populate the array and then "use"
>the array in the array server.
>
Thanks, I though of that too but it didn't make a significant
difference to my surprise. I would expect the arrayserver methods
would use about the same code as I do now.

Anyhow, it works with arrays.

Dick 

Back to comp.lang.clipper.visual-objects | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-01 16:46 +0200
  Re: Replacing LV with bBrowser: much slower because of arrayserver Mathias <mathias.hakansson@consultec.se> - 2011-04-01 08:04 -0700
  Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-01 23:10 +0000
    Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-02 07:50 +0200
      Re: Replacing LV with bBrowser: much slower because of arrayserver E®!k \\/!$$E® <nospam@nospam.com> - 2011-04-02 08:58 +0200
        Re: Replacing LV with bBrowser: much slower because of arrayserver Mathias <mathias.hakansson@consultec.se> - 2011-04-04 00:07 -0700
          Re: Replacing LV with bBrowser: much slower because of arrayserver "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-04-04 17:24 +1000
          Re: Replacing LV with bBrowser: much slower because of arrayserver E®!k \\/!$$E® <nospam@nospam.com> - 2011-04-04 10:07 +0200
            Re: Replacing LV with bBrowser: much slower because of arrayserver Mathias <mathias.hakansson@consultec.se> - 2011-04-04 01:41 -0700
              Re: Replacing LV with bBrowser: much slower because of arrayserver E®!k \\/!$$E® <nospam@nospam.com> - 2011-04-06 16:52 +0200
                Re: Replacing LV with bBrowser: much slower because of arrayserver Mathias <mathias.hakansson@consultec.se> - 2011-04-06 22:38 -0700
          Re: Replacing LV with bBrowser: much slower because of arrayserver Robert van der Hulst <E-55525A53-4118-E@heliks.nl> - 2011-04-04 10:09 +0200
            Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-04 21:43 +0000
              Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-05 09:05 +0200
                Re: Replacing LV with bBrowser: much slower because of arrayserver E®!k \\/!$$E® <nospam@nospam.com> - 2011-04-05 11:41 +0200
                Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-05 20:07 +0200
                Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-05 21:41 +0000
                Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-06 09:07 +0200
                Re: Replacing LV with bBrowser: much slower because of arrayserver Mathias <mathias.hakansson@consultec.se> - 2011-04-06 03:07 -0700
                Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-06 14:54 +0200
          Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-04 21:41 +0000
        Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-04 11:44 +0200
          Re: Replacing LV with bBrowser: much slower because of arrayserver "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-04-05 01:32 +1000
            Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-05 08:58 +0200
              Re: Replacing LV with bBrowser: much slower because of arrayserver "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-04-05 17:55 +1000
                Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-05 20:11 +0200
                Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-05 21:43 +0000
                Re: Replacing LV with bBrowser: much slower because of arrayserver D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-06 09:11 +0200
                Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-07 22:18 +0000
                Re: Replacing LV with bBrowser: much slower because of arrayserver Mathias <mathias.hakansson@consultec.se> - 2011-04-08 00:07 -0700
                Re: Replacing LV with bBrowser: much slower because of arrayserver "Willie Moore" <williem@wmconsulting.com> - 2011-04-08 08:13 -0500
                Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-09 09:32 +0000
      Re: Replacing LV with bBrowser: much slower because of arrayserver "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-02 22:07 +0000

csiph-web