Reviewers: Erik Corry,

Description:
Don't flatten every time we call CharCodeAt

Add String->GetMayFlatten(int) that tries to get a character and may flatten.
This uses an isolate global counter to flatten at regular intervals, instead
of doing it every time.


Please review this at http://codereview.chromium.org/6991007/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/handles.h
  M src/handles.cc
  M src/isolate.h
  M src/isolate.cc
  M src/objects-inl.h
  M src/objects.h
  M src/objects.cc
  M src/runtime.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to