Reading Files

JB sundown at pacifier.com
Mon May 16 19:15:42 EDT 2016


Thank you!

I will definitely read it.

Right now I am reading files in
5kb sections to EOF and I am
reading 350 average size jpg’s
in around 4 seconds.  I will be
doing some processing on the
files but that will be done after
everything else is as fast as I
can get it.

JB




> On May 16, 2016, at 4:01 PM, Richard Gaskin <ambassador at fourthworld.com> wrote:
> 
> JB wrote:
> 
> > The reason why is because I
> > am reading a lot of files and
> > was wondering if it would be
> > faster to write a external to read
> > them.
> 
> LiveCode does offer a few different ways to read and write files, which vary according by speed and features.  And of course there are many ways to work with the data once it's read in, where usually more time is spent.
> 
> If you find something you're working on that seems like it might be optimized feel free to post the code and we'll see what we can do.
> 
> FWIW this thread is long but worth reading - the OP had a process that originally took more than 9 minutes and by the time several forum regulars helped out with various optimizations the final form took only a few milliseconds:
> <http://forums.livecode.com/viewtopic.php?f=8&t=24945>
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com                http://www.FourthWorld.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the Use-livecode mailing list