V8 optimizes array operations based on the array’s Elements Kind. Explanation + JavaScript performance tips: https://v8project.blogspot.com/2017/09/elements-kinds-in-v8.html …pic.twitter.com/tmVDOiuXKH
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Looking forward to it! I’d also love reading about how arrays compare to sets, like array.length vs set.size, array.splice vs set.delete, …
*takes notes furiously*
So, lodash each() is no longer the faster option? (at least on v8)
Depends on how it’s used exactly. But in general, if we assume polymorphism, then yeah, Array#forEach is probably faster.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.