Re: parsing 75,000+ lines of text?


Forums > MaxMSP > parsing 75,000+ lines of text?
February 16, 2013 | 5:12 am

it seems loading data into the text object isn’t the issue, as reading a 200,000 line text file is almost instantaneous. As leafcutter’s patch demonstrates, filling a text object with 1,000,000 lines is rather fast. I have modified this part of my patch – replacing the uzi with a metro/counter. It no longer crashes, but it stills slows down substantially @ around line 10,000. I’m not sure why. It takes me 2 minutes and 19 seconds to parse a 49,382 line text file with this version of the patch. I’m also attaching that text file.

– Pasted Max Patch, click to expand. –