Chip:

Nice recap.

I'm interested in understanding the difference between passing a pointer
and dereferencing the pointer during the operation versus passing a
pointer, working on a local, and then doing Copy
array($localTextArr_AT;t$arrayPtr_P->).

Over the years, I've wondered about the performance penalty of passing by
reference and, when I asked the question at the Summit, the immediate
answer was that operations took 1.6 times as long.

With that in mind, I'm following the Copy array approach when working with
anything but trivial amounts of data. Given that you're dealing with large
amounts of data, it might be interesting to see if the 1 minute elapsed
time could be reduced by that change.


--
Douglas von Roeder
949-336-2902

On Thu, Nov 17, 2016 at 1:29 PM, Alan Chan <[email protected]> wrote:

> Isn't it fun and rewarding:-)
>
> Alan Chan
>
> 4D iNug Technical <[email protected]> writes:
> >My new code imports the same 50 meg file (compiled) in just over 1
> >minute.
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
>
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to