I adapted some code yesterday to use this and it’s really a fantastic speedup. I was previously doing something where I was only loading the first 30 files and adding a “load more” option at the bottom of the list it was taking so long, but with this I can load the entire thing again. I will be having a look around the code to see where else I can use this!
Though not strictly necessary since I can do it once I get the data out of it myself, it would be awesome to have an option to sort the array by name or creation date. ;) You should really do a section in the documentation on all the different ways to optimize xojo with the various parts of the plugin There are so many little things in there that are excellent but so many overall that I’m sure I”m not even aware of all the ways I could be doing things faster, and I’ve been a subscriber since almost day 1 of them! I did some testing recently that discovered that your JPEG to string methods are about twice as fast as the build in fromData stuff in xojo for decoding an image, but that the encoding of JPEGs is slightly faster in native xojo. I didn’t play with the settings all that much though. > On Mar 8, 2016, at 2:02 PM, Christian Schmitz > <[email protected]> wrote: > > The FileListMBS class is an excellent and speedy way to list files in a > directory. Much faster than using folderitem alone. We rewrote the class > and added linux as target so you can now use it for Raspberry Pi or your > web projects. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
