> Le 17 nov. 2016 à 20:23, Charles Miller <[email protected]> a écrit : > > Also it might be creation of array. Remember that every time 4D resizes an > array especially bigger, it looks for a block of memory that can hold it > all.
Yes; in "explode", I add lines by packets and clear unnecessary lines at end. But I'm not able to say how much faster than APPEND TO ARRAY it is really. Another trick, when processing text, is to leave it untouched because of refcounting; that's why Position(..;..;start;..) is so fast I think. -- Arnaud de Montard ********************************************************************** 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] **********************************************************************

