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


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

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

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!news2.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
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 Mon, 4 Apr 2011 10:07:15 +0200
Lines 36
Message-ID <8vtchiFg6qU1@mid.individual.net> (permalink)
References <75mbp6djn5fd676qblqrg3u1k18emu916c@4ax.com> <4d965b49$0$88196$c30e37c6@exi-reader.telstra.net> <35edp69tpvt0n7u2t24gsmioonp7q6btvs@4ax.com> <8vnvp4Fl4lU1@mid.individual.net> <bab4e17f-4cdb-4960-b3ec-93a65d4520a7@o20g2000yqk.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
X-Trace individual.net qE+hzjnF65YXuH2NKNYbIARfadrSuhUk5I+94a3OapZgP4z6va
Cancel-Lock sha1:Tb2T7HirrXX/J+ECr7VboxpnLso=
In-Reply-To <bab4e17f-4cdb-4960-b3ec-93a65d4520a7@o20g2000yqk.googlegroups.com>
X-Priority 3
X-MSMail-Priority Normal
Importance Normal
X-Newsreader Microsoft Windows Live Mail 15.4.3508.1109
X-MimeOLE Produced By Microsoft MimeOLE V15.4.3508.1109
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:655

Show key headers only | View raw


Mathias,

Perhaps I did not express myself clearly enough, but you did not look at the 
enclosed link.
This is much faster than Aadd() every single element.

<snip>
or if the size not known:
  nSize := 0
  aArray := ArrayNew(MAX_ARRAY_SIZE)
  while <some condition>
    nSize++
    aArray[nSize] := somevalue
  enddo
  ASize(aArray, nSize)
</snip>

With regards to Johan Nel.



Erik

"Mathias"  wrote in message 
news:bab4e17f-4cdb-4960-b3ec-93a65d4520a7@o20g2000yqk.googlegroups.com...


> If you do not know the numbers of rows, count them first.

Hi Eric,

the problem is that counting them first can cost you more time than
using dynamic arrays in the first place.

/Mathias 

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