That was part of the idea, and using it in the normal parser as well.
I'll leave that for a different change.
Now, I'm hoping this actually makes JSON parsing faster (or, at least,
no-slower), but I'm not sure I'm there yet.

/L

On Tue, Sep 20, 2011 at 13:26,  <yang...@chromium.org> wrote:
> On 2011/09/20 10:44:01, Lasse Reichstein wrote:
>
> drive-by: would it make sense to lock string encoding during regexp as well?
> The
> encoding is checked many times when using compiled regexp to ensure that the
> targeted encoding did not change. Encoding is also checked when regexp
> execution
> is interrupted, in CheckStackGuardState. All these checks could be made
> obsolete.
>
> http://codereview.chromium.org/7977001/
>



-- 
Lasse R.H. Nielsen
l...@google.com
'Faith without judgement merely degrades the spirit divine'
Google Denmark ApS - Frederiksborggade 20B, 1 sal - 1360 København K -
Denmark - CVR nr. 28 86 69 84

-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to