Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Object.values is getting faster. #18

Open
jdalton opened this issue Mar 5, 2016 · 0 comments
Open

Object.values is getting faster. #18

jdalton opened this issue Mar 5, 2016 · 0 comments

Comments

@jdalton
Copy link
Contributor

jdalton commented Mar 5, 2016

While still early the ES7 method Object.values is already being worked on by Firefox and Chrome/V8.
In terms of performance Firefox is on par with Lodash (which isn't really optimizing it) while Chrome/V8 is working to optimize the heck out of it.

They're taking a page out of my playbook and trying to beat Lodash methods at built-in perf, which is something I did as the Chakra (the JS engine in Edge) perf PM. I've tried my hand at optimizing _.values a bit but could only get about half-way to V8's new optimized performance.

This means if other engines hold steady or better than lib alternative perf we can use Object.values internally 🎉!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants
@jdalton and others