Overview
| Artifact ID: | e4045249f25d0d3bebb0e24e3e31a1bf4e845eaa |
|---|---|
| Ticket: | 496456ffffffffffffffffffffffffffffffffff
regexp engine takes too much RAM |
| User & Date: | dkf on 2001-12-27 22:36:04 |
Changes
- icomment:
Logged In: YES user_id=79902 Experiment indicates that replacing ( with (?: shaves around 5MB off the size of the image. Don't know how much memory the RE engine needs to allocate for all that stuff, though I suspect that you don't want to use a single RE for this; the initial compile-time gets a bit humungous. Matching each RE line separately keeps the space required *much* smaller, but makes the length of time to check an unlisted site longer after the initial compilation (which is also much shorter.) Looks like a time-space tradeoff...
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "dkf"