@igrigorik hey, sorry for bothering you. im trying to dig under the hood of v8. is regular JS object get/has property methods o(N)?
https://github.com/v8/v8/blob/7ead0c146e16661951583d18fda64a73492910c0/src/objects.cc#L6304 …
Replying to @offenso @igrigorik
It gets interesting for non-own properties. E.g. obj = {}; http://obj.foo cannot be O(1) as it requires walking up the prototype chain. It’s O(n) in the length of the prototype chain. More info: https://mathiasbynens.be/notes/prototypes …
10:49 AM - 17 Sep 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.