<i>regexp engine takes too much RAM</i> status still Open with 5 other changes
by
.
D 2001-12-27T19:47:47
J assignee dkf
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nThe\sproblem\sis\sprobably\srelated\sto\sthe\squantity\sof\scapturing\sparentheses\sinvolved.\s\sThere\nmay\sbe\ssome\slinkage\sto\sthe\suse\sof\sarrays\s(which\sare\s*truly*\snot\sappropriate\sfor\sthis\suse;\nlists\sare\smuch\smore\slike\swhat\sis\sneeded)\sand\sthe\sretention\sof\sall\sthe\sregexps\sused\sin\nbuilding\sthe\smain\sone\stoo.\s\sInded,\sI\scould\srewrite\sthe\scode\sto\sbuild\sthe\sregexp\squite\nquickly\s(though\sI've\sno\sidea\show\slarge\sthe\ssingle\sresulting\sRE\swould\sactually\sbe,\sor\nwhether\sthere\swould\sbe\sany\sperformance\sgain\sthrough\sdoing\sthis\safter\sthe\sinitial\nloading\sphase.)\n\nThere\sis\spossibly\sa\sneed\sfor\sa\sflag\sto\ssay\sthat\sno\scapturing\sat\sall\sshould\sbe\sdone\sby\sa\nregexp,\s(making\s"RE(RE)RE"\sequivalent\sto\s"RE(?:RE)RE")\swhich\smight\sbe\suseful\sin\nsituations\ssuch\sas\sthis.\s\sIf\sthat's\sreally\sthe\scase,\sthen\sthis\sis\sa\sFRQ,\snot\sa\sbug\sper\sse.\n\nI'll\shave\sa\slook\sat\sthis\sin\sdetail\safter\sthe\sholidays.\n
J login dkf
J mimetype text/plain
J username dkf
K 496456ffffffffffffffffffffffffffffffffff
U dkf
Z 38a0a5ce307be8d975be141ed626a3ea