[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] need regex benchmark

From: Tobia Conforto
Subject: Re: [Chicken-users] need regex benchmark
Date: Mon, 10 Nov 2008 18:57:13 +0100

felix winkelmann wrote:
Does someone know of a good regex benchmark

Yes. The file perltestdata in Edi Weitz's contains a big PCRE stress test (15,000 tests) already formatted for lisp.

Every line of the file contains a s-expr with the following fields:
- numeric id
- the test in perl syntax, for cross-language benchmarking
- the regular expression under test
- case-insensitive?
- multi-line?
- single-line?
- verbose?
- target string
- error-expected?
- expected-match
- expected-registers

Just remember to (define t #t) and (define nil #f) or such ;-]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]