--
--
v8-users mailing list
v8-u...@googlegroups.com
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 v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Outside of strings, numbers, and O.p.toString.call(foo), the rest of the use cases are exceptionally rare AFAIK.
--
--
v8-users mailing list
v8-u...@googlegroups.com
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 v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I mistook the {Number,String}.p.toString as part of O.p.toString. That was the core of the ambiguity/stupidity on my part.
I would say that the JIT may be able to use branch prediction and get around that problem to a large extent.
On a side note, it may become common and suggested practice to declare a @@toStringTag for all exported classes.