:) I remenmber that gedit was buggy...
Your proposition with until/textfile/select is slower than msgfile. (200 ms vs 40 ms with [msgfile] and its "find" method).
But what you mean by "you just need to add a counter" ? ++
Jack
Le 22/03/2017 à 09:47, cyrille henry a écrit :
few years ago, i used "until / textfile / select" for search and replace in huge text because gedit was to slow. i'll do it again if I had to deal with this kind of texts.
for your application, you just need to add a counter. c
Le 21/03/2017 à 19:14, Jack a écrit :
Hello,
I need to find every lines of a textfile containing a word. The textfile has 2.539.592 lines. Now, i am using [msgfile] from zexy because i can find a line, skip a line and find again ... until the end of the textfile. But, i am wondering if there is an other object (in an other library) faster, specialized in this work ? Thanx. ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list