On Sat, Jun 14, 2014 at 11:45 AM, Isiah Meadows <[email protected]> wrote:

> Actually, a fairly similar hack appears to already be in place, and likely
> more efficient as well.
>

Hmmm, unless I misunderstand things, we are less efficient in
StringStartsWith: Using '%StringIndexOf(s, ss, start) === start' is quite
bad when the string we're searching in is huge and doesn't start with the
prefix. It's just like testing if a container is empty by counting all its
elements and comparing this to zero, which is a bad idea, too.
StringEndsWith can be improved, too. @Michael? :-)

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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