neo237 (Andreas Grau)
- Login: neo237
- Email: mail@andreasgrau.de
- Registered on: 03/18/2009
- Last sign in: 03/20/2009
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
03/19/2009
-
08:19 PM Ruby Bug #1301: Poor RegExp Matching Performance
- =begin
> Theory about regular expressions (formal language theory)
> says there shouldn't be any difference, but Ruby regular
> expressions (same for Perl, Python, and so on) are not
> really regular expressions in the formal sens... -
12:45 AM Ruby Bug #1301: Poor RegExp Matching Performance
- =begin
Using this regexp
regexp = /^(\d*\s+){8,8}+\d+$/
This matches on any line starting with up to 8 number separated by by blanks and a final number
if the string is now in the wrong format, e.g.
str=" ...
03/18/2009
-
11:55 PM Ruby Bug #1301 (Rejected): Poor RegExp Matching Performance
- =begin
I noticed a very poor performance on matching regular expressions.
Running following code using ruby 1.9.0 on a Core2Duo (2x2Ghz) takes more than 20s to complete.
regexp = /[b]+.+.+.+.+.+.+.+.+[a]/
str="bbbbbbbbbbbbbb...