Comment #6 on issue 3878 by lidlanca: RangeError running RegExp on large string
https://code.google.com/p/v8/issues/detail?id=3878

If the source string is not mutable on the regexp evaluation, I wonder if that could be used for the backtracking implementation advantage.

Instead of pushing a copy of the source sub string to the backtracking stack. A string wrapper will be pushed instead, the wrapper will represent the source string range. It should reduce memory footprint for cases where a backtracking is very large and taking advantage of the string existence in memory

I am not aware of implementations details of regexp, so I don't know how feasible it is.



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to