Re: Reading and writing large arrays to disk

2020-01-05 Thread Kirk Brooks via 4D_Tech
Miyako, Nice explanation. More or less - where do you think the inflection point is where simple text concatenation becomes less efficient than adding the text to a BLOB? On Sun, Jan 5, 2020 at 8:20 PM Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > concatenation of text is

Re: Reading and writing large arrays to disk

2020-01-05 Thread Keisuke Miyako via 4D_Tech
concatenation of text is intuitive, but inefficient. every time you add text to another, a new buffer is created and the whole text is copied there. as the text gets larger, the allocation of memory and copying of data will become slower. variable to blob is fast as it simply packs the

Reading and writing large arrays to disk

2020-01-05 Thread Mitchell Shiller via 4D_Tech
Hi, I have large string arrays (about 200 k elements). I need to write and read them to disk. Speed is the most important criteria. Options 1) Create a text variable (loop with CR delimiter) and then TEXT TO DOCUMENT. 2) VARIABLE TO BLOB, COMPRESS BLOB, BLOB TO DOCUMENT 3) OB SET ARRAY, JSON

Re: gitignore for projects

2020-01-05 Thread John DeSoi via 4D_Tech
Hi Jim, > On Jan 5, 2020, at 7:31 AM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> In this model, I'm only making structure and form changes in the 17 master >> branch. Methods can be changed in both branches. > > Are there any problems with functionalities can’t be used in v18

Re: gitignore for projects

2020-01-05 Thread John DeSoi via 4D_Tech
Hi Tom, > On Jan 4, 2020, at 10:13 PM, Tom Benedict wrote: > > How large is your structure? I ask, because our structure has around a > million lines of code and probably 15,000 forms and when I’ve tried exporting > under 17r5 it takes many minutes. Roughly 150,000 lines of source code and

Re: gitignore for projects

2020-01-05 Thread Jim Crate via 4D_Tech
On Jan 4, 2020, at 6:42 PM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Yes. Switch back to the 17 "master" branch. Verify there are no uncommitted > changes in the Project folder (git status called from 4D). Move the Project > folder to the trash. Run the 17 to 18 script again and