Overview
| Artifact ID: | 714c4b83ec1122bd76860ec9fc2a01a1beafacb8 |
|---|---|
| Ticket: | 853845ffffffffffffffffffffffffffffffffff
iterating with regexp over many expr performance problem |
| User & Date: | erempel on 2003-12-04 05:43:27 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Can anyone confirm a bug or a feature :-) When looping over 30 regular expressions like foreach exp $expList { if {[regexp $exp "string"]} then { set x 1 } } performs well, but when 31 expressions are used, the performance is considerably slower. I have included a file that results in 407 microseconds per iteration 3094 microseconds per iteration Quite a change for adding only 1 more expression. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "erempel"
- subsystem changed to: "None"
- title changed to:
iterating with regexp over many expr performance problem
- type changed to: "Bug"