DBC on the benchmarking side

One important difference is that %StringBuilderConcat builds Sequential string
while optimization builds cons string.

Hence benchmarks that don't account for this difference are not completely
representative: you would pay the cost of flattening at use sites, instead of
paying it at definition site.

If benchmark has no uses of the String.prototype.repeat result then the most
effective implementation of repeat is the one that is capable of DCEing it :)

https://codereview.chromium.org/401783003/

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