https://codereview.chromium.org/657863002/diff/1/src/harmony-string.js
File src/harmony-string.js (right):

https://codereview.chromium.org/657863002/diff/1/src/harmony-string.js#newcode30
src/harmony-string.js:30: s += s;
There will be extra unnecessary concatenation at the end. Maybe:

while (1) {
  if (n & 1) r += s;
  n >>= 1;
  if (!n) break;
  s += s;
}

https://codereview.chromium.org/657863002/

--
--
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