Hi George, thanks for your reply! :)
I know Perl and its regexp quite well...so I will go for the regexified solution first. But...I fear I have to sort my brain first. I played around a little with regex-match and friends...and often I dont understand the results... Cheers Meino George Neuner <[email protected]> [16-11-04 17:48]: > On Fri, 4 Nov 2016 04:03:53 +0100, > [email protected] wrote: > > >I have to break down input from textfiles in lists. Due to > >missing formatting symbols like ";" (csv) I have do it more > >"analogous". ;) > > > >It can be done by regex and it can be done by line splitting, > >procesing the results (removing superflous whitespace) and > >selecting from that result what I need. > > > >There are lot of lines to process.... > > > >How fast are regex in racket in comparison to the other way to > >implement the whole thing? > > If the matching is complicated, regex probably will be faster than > what you could write yourself. > > I don't have numbers handy, but IME Racket's regex - once the data is > in memory - is comparable in speed to Perl's. For technical reasons, > Racket's I/O is somewhat slower than Perl's, and that can make a > noticable difference with very large files. > [But if you're still talking about ~20K lines, that really isn't very > "large" and the difference likely would be hard to notice without > timing it.] > > George > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

