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 STRINGIFY, TEXT TO DOCUMENT Obviously using the reverse commands to read from disk. Option one seems by far the slowest. Anyone know if 2 or 3 is faster? Does the COMPRESS BLOB help? The resultant file is about 2 MB in size without compression. If yes to COMPRESS BLOB , Any différence from native 4D vs. GZIP compression? Thanks as always. Mitch Sent from my iPad ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

