<i>regexp engine takes too much RAM</i> status still Open with 5 other changes
by
.
D 2001-12-27T22:36:04
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nExperiment\sindicates\sthat\sreplacing\s(\swith\s(?:\sshaves\saround\s5MB\soff\sthe\ssize\sof\sthe\simage.\nDon't\sknow\show\smuch\smemory\sthe\sRE\sengine\sneeds\sto\sallocate\sfor\sall\sthat\sstuff,\sthough\sI\nsuspect\sthat\syou\sdon't\swant\sto\suse\sa\ssingle\sRE\sfor\sthis;\sthe\sinitial\scompile-time\sgets\sa\sbit\nhumungous.\n\nMatching\seach\sRE\sline\sseparately\skeeps\sthe\sspace\srequired\s*much*\ssmaller,\sbut\smakes\nthe\slength\sof\stime\sto\scheck\san\sunlisted\ssite\slonger\safter\sthe\sinitial\scompilation\s(which\sis\salso\nmuch\sshorter.)\s\sLooks\slike\sa\stime-space\stradeoff...\n
J login dkf
J mimetype text/plain
J priority 3\sLow
J username dkf
K 496456ffffffffffffffffffffffffffffffffff
U dkf
Z d160b4a865a4dedfe86fe1ff1de1ad67