for posterity :)
My new parsing routine (followed by new substring routine)
//Project Method: utl_Text_Fast_Parse
//$1 - pointer - to text to parse
//$2 - longint (optional) - number of times to find character(s)
(default is one)
//$3 - text (optional) - text delimter to find (default
I'm not working with arrays (being passed)
but a single text variable.
x_Parse:=ax_File_Contents{$Current_File_Text_Block}
then x_Parse is worked on/with
So a method call looks like this:
utl_text_Fast_Parse(->x_Parse;$Delimeter_Count;$Delimeter)
BUT if I were working with the array directly,
Isn't it fun and rewarding:-)
Alan Chan
4D iNug Technical <4d_tech@lists.4d.com> writes:
>My new code imports the same 50 meg file (compiled) in just over 1
>minute.
**
4D Internet Users Group (4D iNUG)
FAQ:
I am using a text array (only 1 element)
The array is created on import of the text from the disk file and is
NOT resized (except to clear) after this. The element(s) of the array
are filled via Receive Packet(Doc;Array_Element;1,500,000,000)
Original Issue - I tired to import a large (50meg)
4 matches
Mail list logo