Hi guys, I need to lex a textfile as fast as possible(TM) by using a set of regex patterns. Pattern expects a CharSequence as input. I used to read the input file into a StringBuffer completely and than start lexing (cutting of the part that matches in every step). This is not very effective from both the memory and runtime perspective. (ok, not so much runtime, since you _have_ to read every char anyway). Today I just searched for some kind of delayed Buffer that would take the input from the reader on demand or even do it in a parallel thread. Is there any such thing out there yet? thanks christoph
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- fedora-devel-java-list mailing list fedora-devel-java-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-java-list